Generated by
JDiff

Class java.awt.Window

Documentation changed from old to new.

Changed Constructors
Window(Frame) Documentation changed from old to new.
Constructs a new invisible window with the specified Frame as its owner.
Window(Window) Documentation changed from old to new.
Constructs a new invisible window with the specified Window as its owner.
Window(Window, GraphicsConfiguration) Documentation changed from old to new.
Constructs a new invisible window with the specified window as its owner and a GraphicsConfiguration of a screen device.
 

Added Methods
void addPropertyChangeListener(PropertyChangeListener) Adds a PropertyChangeListener to the listener list.
void addPropertyChangeListener(String, PropertyChangeListener) Adds a PropertyChangeListener to the listener list for a specific property.
void addWindowFocusListener(WindowFocusListener) Adds the specified window focus listener to receive window events from this window.
void addWindowStateListener(WindowStateListener) Adds the specified window state listener to receive window events from this window.
void createBufferStrategy(int, BufferCapabilities) Creates a new strategy for multi-buffering on this component with the required buffer capabilities.
void createBufferStrategy(int) Creates a new strategy for multi-buffering on this component.
BufferStrategy getBufferStrategy() @return the buffer strategy used by this component
Container getFocusCycleRootAncestor() Always returns null because Windows have no ancestors; they represent the top of the Component hierarchy.
Set getFocusTraversalKeys(int) Gets a focus traversal key for this Window.
boolean getFocusableWindowState() Returns whether this Window can become the focused Window if it meets the other requirements outlined in isFocusableWindow.
Component getMostRecentFocusOwner() Returns the child Component of this Window that will receive the focus when this Window is focused.
WindowFocusListener[] getWindowFocusListeners() Returns an array of all the window focus listeners registered on this window.
WindowListener[] getWindowListeners() Returns an array of all the window listeners registered on this window.
WindowStateListener[] getWindowStateListeners() Returns an array of all the window state listeners registered on this window.
boolean isActive() Returns whether this Window is active.
boolean isFocusCycleRoot() Always returns true because all Windows must be roots of a focus traversal cycle.
boolean isFocusableWindow() Returns whether this Window can become the focused Window that is whether this Window or any of its subcomponents can become the focus owner.
boolean isFocused() Returns whether this Window is focused.
void processWindowFocusEvent(WindowEvent) Processes window focus event occuring on this window by dispatching them to any registered WindowFocusListener objects.
void processWindowStateEvent(WindowEvent) Processes window state event occuring on this window by dispatching them to any registered WindowStateListener objects.
void removeWindowFocusListener(WindowFocusListener) Removes the specified window focus listener so that it no longer receives window events from this window.
void removeWindowStateListener(WindowStateListener) Removes the specified window state listener so that it no longer receives window events from this window.
void setFocusCycleRoot(boolean) Does nothing because Windows must always be roots of a focus traversal cycle.
void setFocusableWindowState(boolean) Sets whether this Window can become the focused Window if it meets the other requirements outlined in isFocusableWindow.
void setLocationRelativeTo(Component) Sets the location of the window relative to the specified component.
 

Changed Methods
void addWindowListener(WindowListener) Documentation changed from old to new.
Adds the specified window listener to receive window events from this window.
void dispose() Documentation changed from old to new.
Releases all of the native screen resources used by this Window its subcomponents and all of its owned children.
Component getFocusOwner() Documentation changed from old to new.
Returns the child Component of this Window that has focus if this Window is focused; returns null otherwise.
EventListener[] getListeners(Class) Documentation changed from old to new.
Returns an array of all the objects currently registered as FooListeners upon this Window.
Toolkit getToolkit() Documentation changed from old to new.
Returns the toolkit of this frame.
void hide() Documentation changed from old to new.
Hide this Window its subcomponents and all of its owned children.
boolean isShowing() Documentation changed from old to new.
Checks if this Window is showing on screen.
void processEvent(AWTEvent) Documentation changed from old to new.
Processes events on this window.
void processWindowEvent(WindowEvent) Documentation changed from old to new.
Processes window events occurring on this window by dispatching them to any registered WindowListener objects.
void removeWindowListener(WindowListener) Documentation changed from old to new.
Removes the specified window listener so that it no longer receives window events from this window.
void setCursor(Cursor) Documentation changed from old to new.
Set the cursor image to a specified cursor.
void toBack() Documentation changed from old to new.
If this Window is visible sends this Window to the back and may cause it to lose focus or activation if it is the focused or active Window.
void toFront() Documentation changed from old to new.
If this Window is visible brings this Window to the front and may make it the focused Window.
void applyResourceBundle(String) Documentation changed from old to new.
Now deprecated.
As of J2SE 1.4, replaced by {@link Component#applyComponentOrientation Component.applyComponentOrientation}.
void applyResourceBundle(ResourceBundle) Documentation changed from old to new.
Now deprecated.
As of J2SE 1.4, replaced by {@link Component#applyComponentOrientation Component.applyComponentOrientation}.
void show() Documentation changed from old to new.
Makes the Window visible.