public void
addPropertyChangeListener
(String propertyName, PropertyChangeListener listener)
[Inherited From Window]
public int
checkImage
(Image image, int width, int height, ImageObserver observer)
[Inherited From Component]
public void
createBufferStrategy
(int numBuffers, BufferCapabilities caps)
throws
AWTException
[Inherited From Window]
protected JRootPane
createRootPane
()
rootPane.
public VolatileImage
createVolatileImage
(int width, int height, ImageCapabilities caps)
throws
AWTException
[Inherited From Component]
publicsynchronized DropTarget
getDropTarget
()
[Inherited From Component]
DropTarget associated with this
Component.
publicsynchronized HierarchyBoundsListener
getHierarchyBoundsListeners
()
[Inherited From Component]
public Point
getMousePosition
(boolean allowChildren)
throws
HeadlessException
[Inherited From Container]
publicsynchronized PropertyChangeListener
getPropertyChangeListeners
(String propertyName)
[Inherited From Component]
public boolean
prepareImage
(Image image, int width, int height, ImageObserver observer)
[Inherited From Component]
publicsynchronized void
removeInputMethodListener
(InputMethodListener l)
[Inherited From Component]
publicsynchronized void
removeMouseMotionListener
(MouseMotionListener l)
[Inherited From Component]
publicsynchronized void
removePropertyChangeListener
(PropertyChangeListener listener)
[Inherited From Component]
publicsynchronized void
removePropertyChangeListener
(String propertyName, PropertyChangeListener listener)
[Inherited From Component]
publicfinal void
setAlwaysOnTop
(boolean alwaysOnTop)
throws
SecurityException
[Inherited From Window]
public void
setFocusTraversalKeysEnabled
(boolean focusTraversalKeysEnabled)
[Inherited From Component]
public void
setIconImage
(Image image)
[Overrides Frame]
This method can be used instead of setIconImages()
to specify a single image as a window's icon.
The following statement:
setIconImage(image);
is equivalent to:
ArrayList imageList = new ArrayList();
imageList.add(image);
setIconImages(imageList);
Note : Native windowing systems may use different images of differing dimensions to represent a window, depending on the context (e.g. window decoration, window list, taskbar, etc.). They could also use just a single image for all contexts or no image at all.
publicfinalstatic
int DO_NOTHING_ON_CLOSE
= "0"
[Inherited From WindowConstants]
publicfinalstatic
int HIDE_ON_CLOSE
= "1"
[Inherited From WindowConstants]