API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt. Frame View Source
Author(s)
Sami Shaio
Since
JDK1.0
Version
1.161, 07/27/06
Serial
Hierarchy
 Object
      Component
          Container
              Window
                  Frame
Implements
 MenuContainer
Subclasses
 JFrame
Description
public class Frame
  A Frame is a top-level window with a title and a border.
Constructors
public Frame () throws HeadlessException
  Constructs a new instance of Frame that is initially invisible.
public Frame (GraphicsConfiguration gc)
  Constructs a new, initially invisible Frame with the specified GraphicsConfiguration.
public Frame (String title) throws HeadlessException
  Constructs a new, initially invisible Frame object with the specified title.
public Frame (String title, GraphicsConfiguration gc)
  Constructs a new, initially invisible Frame object with the specified title and a GraphicsConfiguration.
Methods
Hide/Show inherited methods
@Deprecated
public boolean action (Event evt, Object what) [Inherited From Component]
public Component add (Component comp) [Inherited From Container]
  Appends the specified component to the end of this container.
public Component add (Component comp, int index) [Inherited From Container]
  Adds the specified component to this container at the given position.
public void add (Component comp, Object constraints) [Inherited From Container]
  Adds the specified component to the end of this container.
public void add (Component comp, Object constraints, int index) [Inherited From Container]
  Adds the specified component to this container with the specified constraints at the specified index.
publicsynchronized void add (PopupMenu popup) [Inherited From Component]
  Adds the specified popup menu to the component.
public Component add (String name, Component comp) [Inherited From Container]
  Adds the specified component to this container.
publicsynchronized void addComponentListener (ComponentListener l) [Inherited From Component]
  Adds the specified component listener to receive component events from this component.
publicsynchronized void addContainerListener (ContainerListener l) [Inherited From Container]
  Adds the specified container listener to receive container events from this container.
publicsynchronized void addFocusListener (FocusListener l) [Inherited From Component]
  Adds the specified focus listener to receive focus events from this component when this component gains input focus.
public void addHierarchyBoundsListener (HierarchyBoundsListener l) [Inherited From Component]
  Adds the specified hierarchy bounds listener to receive hierarchy bounds events from this component when the hierarchy to which this container belongs changes.
public void addHierarchyListener (HierarchyListener l) [Inherited From Component]
  Adds the specified hierarchy listener to receive hierarchy changed events from this component when the hierarchy to which this container belongs changes.
protected void addImpl (Component comp, Object constraints, int index) [Inherited From Container]
  Adds the specified component to this container at the specified index.
publicsynchronized void addInputMethodListener (InputMethodListener l) [Inherited From Component]
  Adds the specified input method listener to receive input method events from this component.
publicsynchronized void addKeyListener (KeyListener l) [Inherited From Component]
  Adds the specified key listener to receive key events from this component.
publicsynchronized void addMouseListener (MouseListener l) [Inherited From Component]
  Adds the specified mouse listener to receive mouse events from this component.
publicsynchronized void addMouseMotionListener (MouseMotionListener l) [Inherited From Component]
  Adds the specified mouse motion listener to receive mouse motion events from this component.
publicsynchronized void addMouseWheelListener (MouseWheelListener l) [Inherited From Component]
  Adds the specified mouse wheel listener to receive mouse wheel events from this component.
public void addNotify () [Overrides Window]
  Makes this Frame displayable by connecting it to a native screen resource.
pack-private void addOwnedWindow (WeakReference weakWindow) [Inherited From Window]
public void addPropertyChangeListener (PropertyChangeListener listener) [Inherited From Window]
  Adds a PropertyChangeListener to the listener list.
public void addPropertyChangeListener (String propertyName, PropertyChangeListener listener) [Inherited From Window]
  Adds a PropertyChangeListener to the listener list for a specific property.
publicsynchronized void addWindowFocusListener (WindowFocusListener l) [Inherited From Window]
  Adds the specified window focus listener to receive window events from this window.
publicsynchronized void addWindowListener (WindowListener l) [Inherited From Window]
  Adds the specified window listener to receive window events from this window.
publicsynchronized void addWindowStateListener (WindowStateListener l) [Inherited From Window]
  Adds the specified window state listener to receive window events from this window.
pack-private void adjustDecendantsOnParent (int num) [Inherited From Window]
pack-private void adjustDescendants (int num) [Inherited From Container]
pack-private void adjustListeningChildren (long mask, int num) [Inherited From Container]
pack-private void adjustListeningChildrenOnParent (long mask, int num) [Inherited From Window]
public void applyComponentOrientation (ComponentOrientation o) [Inherited From Container]
  Sets the ComponentOrientation property of this container and all components contained within it.
@Deprecated
public void applyResourceBundle (ResourceBundle rb) [Inherited From Window]
@Deprecated
public void applyResourceBundle (String rbName) [Inherited From Window]
public boolean areFocusTraversalKeysSet (int id) [Inherited From Container]
  Returns whether the Set of focus traversal keys for the given focus traversal operation has been explicitly defined for this Container.
pack-private boolean areInputMethodsEnabled () [Inherited From Component]
pack-private void autoProcessMouseWheel (MouseWheelEvent e) [Inherited From Component]
pack-privatefinal void autoTransferFocus (boolean clearOnFailure) [Inherited From Component]
@Deprecated
public Rectangle bounds () [Inherited From Component]
pack-privatefinal boolean canBeFocusOwner () [Inherited From Component]
  Checks that this component meets the prerequesites to be focus owner: - it is enabled, visible, focusable - it's parents are all enabled and showing - top-level window is focusable - if focus cycle root has DefaultFocusTraversalPolicy then it also checks that this policy accepts this component as focus owner
pack-private boolean canContainFocusOwner (Component focusOwnerCandidate) [Inherited From Window]
  Checks whether this window can contain focus owner.
pack-private void checkGD (String stringID) [Inherited From Container]
  Checks that all Components that this Container contains are on the same GraphicsDevice as this Container.
public int checkImage (Image image, ImageObserver observer) [Inherited From Component]
  Returns the status of the construction of a screen representation of the specified image.
public int checkImage (Image image, int width, int height, ImageObserver observer) [Inherited From Component]
  Returns the status of the construction of a screen representation of the specified image.
pack-private void checkTreeLock () [Inherited From Container]
pack-private boolean checkWindowClosingException () [Inherited From Component]
pack-private void clearCurrentFocusCycleRootOnHide () [Inherited From Container]
pack-privatefinal void clearMostRecentFocusOwnerOnHide () [Inherited From Window]
protected AWTEvent coalesceEvents (AWTEvent existingEvent, AWTEvent newEvent) [Inherited From Component]
  Potentially coalesce an event being posted with an existing event.
pack-private void connectOwnedWindow (Window child) [Inherited From Window]
pack-private String constructComponentName () [Overrides Window]
  Construct a name for this component.
public boolean contains (int x, int y) [Inherited From Component]
  Checks whether this component "contains" the specified point, where x and y are defined to be relative to the coordinate system of this component.
public boolean contains (Point p) [Inherited From Component]
  Checks whether this component "contains" the specified point, where the point's x and y coordinates are defined to be relative to the coordinate system of this component.
pack-privatefinal boolean containsFocus () [Inherited From Container]
@Deprecated
public int countComponents () [Inherited From Container]
pack-private int countHierarchyMembers () [Inherited From Container]
public void createBufferStrategy (int numBuffers) [Inherited From Window]
  Creates a new strategy for multi-buffering on this component.
public void createBufferStrategy (int numBuffers, BufferCapabilities caps) throws AWTException [Inherited From Window]
  Creates a new strategy for multi-buffering on this component with the required buffer capabilities.
pack-privatefinal void createChildHierarchyEvents (int id, long changeFlags, boolean enabledOnToolkit) [Inherited From Container]
pack-privatefinal int createHierarchyEvents (int id, Component changed, Container changedParent, long changeFlags, boolean enabledOnToolkit) [Inherited From Container]
public Image createImage (ImageProducer producer) [Inherited From Component]
  Creates an image from the specified image producer.
public Image createImage (int width, int height) [Inherited From Component]
  Creates an off-screen drawable image to be used for double buffering.
public VolatileImage createVolatileImage (int width, int height) [Inherited From Component]
  Creates a volatile off-screen drawable image to be used for double buffering.
public VolatileImage createVolatileImage (int width, int height, ImageCapabilities caps) throws AWTException [Inherited From Component]
  Creates a volatile off-screen drawable image, with the given capabilities.
@Deprecated
public void deliverEvent (Event e) [Inherited From Container]
pack-private void deliverMouseWheelToAncestor (MouseWheelEvent e) [Inherited From Window]
  Overridden from Component.
@Deprecated
public void disable () [Inherited From Component]
protectedfinal void disableEvents (long eventsToDisable) [Inherited From Component]
  Disables the events defined by the specified event mask parameter from being delivered to this component.
publicfinal void dispatchEvent (AWTEvent e) [Inherited From Component]
  Dispatches an event to this component or one of its sub components.
pack-private void dispatchEventImpl (AWTEvent e) [Inherited From Window]
  Dispatches an event to this window or one of its sub components.
pack-private void dispatchEventToSelf (AWTEvent e) [Inherited From Container]
pack-private boolean dispatchMouseWheelToAncestor (MouseWheelEvent e) [Inherited From Window]
  Overridden from Component.
public void dispose () [Inherited From Window]
  Releases all of the native screen resources used by this Window, its subcomponents, and all of its owned children.
pack-private void disposeImpl () [Inherited From Window]
pack-private void doDispose () [Inherited From Window]
public void doLayout () [Inherited From Container]
  Causes this container to lay out its components.
@Deprecated
public void enable () [Inherited From Component]
@Deprecated
public void enable (boolean b) [Inherited From Component]
protectedfinal void enableEvents (long eventsToEnable) [Inherited From Component]
  Enables the events defined by the specified event mask parameter to be delivered to this component.
public void enableInputMethods (boolean enable) [Inherited From Component]
  Enables or disables input method support for this component.
pack-private boolean eventEnabled (AWTEvent e) [Inherited From Window]
pack-private boolean eventTypeEnabled (int type) [Inherited From Component]
public Component findComponentAt (int x, int y) [Inherited From Container]
  Locates the visible child component that contains the specified position.
pack-privatefinal Component findComponentAt (int x, int y, boolean ignoreEnabled) [Inherited From Container]
  Private version of findComponentAt which has a controllable behavior.
public Component findComponentAt (Point p) [Inherited From Container]
  Locates the visible child component that contains the specified point.
pack-privatefinal Component findComponentAtImpl (int x, int y, boolean ignoreEnabled) [Inherited From Container]
pack-private Component findUnderMouseInWindow (PointerInfo pi) [Inherited From Component]
  Assuming that mouse location is stored in PointerInfo passed to this method, it finds a Component that is in the same Window as this Component and is located under the mouse pointer.
protected void firePropertyChange (String propertyName, boolean oldValue, boolean newValue) [Inherited From Component]
  Support for reporting bound property changes for boolean properties.
public void firePropertyChange (String propertyName, byte oldValue, byte newValue) [Inherited From Component]
  Reports a bound property change.
public void firePropertyChange (String propertyName, char oldValue, char newValue) [Inherited From Component]
  Reports a bound property change.
public void firePropertyChange (String propertyName, double oldValue, double newValue) [Inherited From Component]
  Reports a bound property change.
public void firePropertyChange (String propertyName, float oldValue, float newValue) [Inherited From Component]
  Reports a bound property change.
protected void firePropertyChange (String propertyName, int oldValue, int newValue) [Inherited From Component]
  Support for reporting bound property changes for integer properties.
public void firePropertyChange (String propertyName, long oldValue, long newValue) [Inherited From Component]
  Reports a bound property change.
protected void firePropertyChange (String propertyName, Object oldValue, Object newValue) [Inherited From Component]
  Support for reporting bound property changes for Object properties.
public void firePropertyChange (String propertyName, short oldValue, short newValue) [Inherited From Component]
  Reports a bound property change.
pack-private Accessible getAccessibleAt (Point p) [Inherited From Container]
  Returns the Accessible child contained at the local coordinate Point, if one exists.
pack-private Accessible getAccessibleChild (int i) [Inherited From Container]
  Returns the nth Accessible child of the object.
pack-private int getAccessibleChildrenCount () [Inherited From Container]
  Returns the number of accessible children in the object.
public AccessibleContext getAccessibleContext () [Overrides Window]
  Gets the AccessibleContext associated with this Frame.
pack-private int getAccessibleIndexInParent () [Inherited From Component]
  Gets the index of this object in its accessible parent.
pack-private AccessibleStateSet getAccessibleStateSet () [Inherited From Component]
  Gets the current state set of this object.
public float getAlignmentX () [Inherited From Container]
  Returns the alignment along the x axis.
public float getAlignmentY () [Inherited From Container]
  Returns the alignment along the y axis.
pack-privatestatic Vector<Window> getAllUnblockedWindows () [Inherited From Window]
pack-privatestatic Vector<Window> getAllWindows () [Inherited From Window]
pack-private Image getBackBuffer () [Inherited From Component]
 
public Color getBackground () [Inherited From Component]
  Gets the background color of this component.
public int getBaseline (int width, int height) [Inherited From Component]
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior () [Inherited From Component]
  Returns an enum indicating how the baseline of the component changes as the size changes.
public Rectangle getBounds () [Inherited From Component]
  Gets the bounds of this component in the form of a Rectangle object.
public Rectangle getBounds (Rectangle rv) [Inherited From Component]
  Stores the bounds of this component into "return value" rv and return rv.
pack-private int getBoundsOp () [Inherited From Component]
Should only be used in subclass getBounds to check that part of bounds is actualy changing
public BufferStrategy getBufferStrategy () [Inherited From Window]
  Returns the BufferStrategy used by this component.
public ColorModel getColorModel () [Inherited From Component]
  Gets the instance of ColorModel used to display the component on the output device.
public Component getComponent (int n) [Inherited From Container]
  Gets the nth component in this container.
public Component getComponentAt (int x, int y) [Inherited From Container]
  Locates the component that contains the x,y position.
public Component getComponentAt (Point p) [Inherited From Container]
  Gets the component that contains the specified point.
public int getComponentCount () [Inherited From Container]
  Gets the number of components in this panel.
publicsynchronized ComponentListener getComponentListeners () [Inherited From Component]
  Returns an array of all the component listeners registered on this component.
public ComponentOrientation getComponentOrientation () [Inherited From Component]
  Retrieves the language-sensitive orientation that is to be used to order the elements or text within this component.
pack-privatefinal Component getComponents_NoClientCode () [Inherited From Container]
public Component getComponents () [Inherited From Container]
  Gets all the components in this container.
public int getComponentZOrder (Component comp) [Inherited From Container]
  Returns the z-order index of the component inside the container.
publicsynchronized ContainerListener getContainerListeners () [Inherited From Container]
  Returns an array of all the container listeners registered on this container.
pack-private Window getContainingWindow () [Inherited From Component]
  Returns the Window ancestor of the component.
pack-privatestatic Window getContainingWindow (Component comp) [Inherited From Component]
  Returns the Window ancestor of the component comp.
public Cursor getCursor () [Inherited From Component]
  Gets the cursor set in the component.
@Deprecated
public int getCursorType ()
pack-private Window getDocumentRoot () [Inherited From Window]
publicsynchronized DropTarget getDropTarget () [Inherited From Component]
Gets the DropTarget associated with this Component.
pack-private Component getDropTargetEventTarget (int x, int y, boolean includeSelf) [Inherited From Container]
Fetches the top-most (deepest) component to receive SunDropTargetEvents.
publicsynchronized int getExtendedState ()
  Gets the state of this frame.
public boolean getFocusableWindowState () [Inherited From Window]
  Returns whether this Window can become the focused Window if it meets the other requirements outlined in isFocusableWindow.
publicfinal Container getFocusCycleRootAncestor () [Inherited From Window]
  Always returns null because Windows have no ancestors; they represent the top of the Component hierarchy.
publicsynchronized FocusListener getFocusListeners () [Inherited From Component]
  Returns an array of all the focus listeners registered on this component.
public Component getFocusOwner () [Inherited From Window]
  Returns the child Component of this Window that has focus if this Window is focused; returns null otherwise.
pack-privatefinal Set getFocusTraversalKeys_NoIDCheck (int id) [Inherited From Component]
public Set<AWTKeyStroke> getFocusTraversalKeys (int id) [Inherited From Window]
  Gets a focus traversal key for this Window.
public boolean getFocusTraversalKeysEnabled () [Inherited From Component]
  Returns whether focus traversal keys are enabled for this Component.
public FocusTraversalPolicy getFocusTraversalPolicy () [Inherited From Container]
  Returns the focus traversal policy that will manage keyboard traversal of this Container's children, or null if this Container is not a focus cycle root.
pack-privatefinal Font getFont_NoClientCode () [Inherited From Component]
public Font getFont () [Inherited From Component]
  Gets the font of this component.
public FontMetrics getFontMetrics (Font font) [Inherited From Component]
  Gets the font metrics for the specified font.
public Color getForeground () [Inherited From Component]
  Gets the foreground color of this component.
publicstatic Frame getFrames ()
  Returns an array of all Frames created by this application.
pack-privatefinal Graphics getGraphics_NoClientCode () [Inherited From Component]
public Graphics getGraphics () [Inherited From Component]
  Creates a graphics context for this component.
pack-privatefinal GraphicsConfiguration getGraphicsConfiguration_NoClientCode () [Inherited From Component]
public GraphicsConfiguration getGraphicsConfiguration () [Inherited From Window]
  This method returns the GraphicsConfiguration used by this Window.
pack-private Container getHeavyweightContainer () [Inherited From Container]
  Returns closest heavyweight component to this container.
public int getHeight () [Inherited From Component]
  Returns the current height of this component.
publicsynchronized HierarchyBoundsListener getHierarchyBoundsListeners () [Inherited From Component]
  Returns an array of all the hierarchy bounds listeners registered on this component.
publicsynchronized HierarchyListener getHierarchyListeners () [Inherited From Component]
  Returns an array of all the hierarchy listeners registered on this component.
public Image getIconImage ()
  Returns the image to be displayed as the icon for this frame.
public List<Image> getIconImages () [Inherited From Window]
  Returns the sequence of images to be displayed as the icon for this window.
public boolean getIgnoreRepaint () [Inherited From Component]
 
public InputContext getInputContext () [Inherited From Window]
  Gets the input context for this window.
publicsynchronized InputMethodListener getInputMethodListeners () [Inherited From Component]
  Returns an array of all the input method listeners registered on this component.
public InputMethodRequests getInputMethodRequests () [Inherited From Component]
  Gets the input method request handler which supports requests from input methods for this component.
public Insets getInsets () [Inherited From Container]
  Determines the insets of this container, which indicate the size of the container's border.
publicsynchronized KeyListener getKeyListeners () [Inherited From Component]
  Returns an array of all the key listeners registered on this component.
public LayoutManager getLayout () [Inherited From Container]
  Gets the layout manager for this container.
public T getListeners (Class< T> listenerType) [Inherited From Window]
  Returns an array of all the objects currently registered as FooListeners upon this Window.
public Locale getLocale () [Inherited From Window]
  Gets the Locale object that is associated with this window, if the locale has been set.
public Point getLocation () [Inherited From Component]
  Gets the location of this component in the form of a point specifying the component's top-left corner.
public Point getLocation (Point rv) [Inherited From Component]
  Stores the x,y origin of this component into "return value" rv and return rv.
pack-privatefinal Point getLocationOnScreen_NoTreeLock () [Inherited From Component]
public Point getLocationOnScreen () [Inherited From Component]
  Gets the location of this component in the form of a point specifying the component's top-left corner in the screen's coordinate space.
public Rectangle getMaximizedBounds ()
  Gets maximized bounds for this frame.
public Dimension getMaximumSize () [Inherited From Container]
  Returns the maximum size of this container.
public MenuBar getMenuBar ()
  Gets the menu bar for this frame.
public Dimension getMinimumSize () [Inherited From Container]
  Returns the minimum size of this container.
pack-private Dialog getModalBlocker () [Inherited From Window]
public ModalExclusionType getModalExclusionType () [Inherited From Window]
  Returns the modal exclusion type of this window.
public Component getMostRecentFocusOwner () [Inherited From Window]
  Returns the child Component of this Window that will receive the focus when this Window is focused.
pack-private Component getMouseEventTarget (int x, int y, boolean includeSelf) [Inherited From Container]
Fetchs the top-most (deepest) lightweight component that is interested in receiving mouse events.
publicsynchronized MouseListener getMouseListeners () [Inherited From Component]
  Returns an array of all the mouse listeners registered on this component.
publicsynchronized MouseMotionListener getMouseMotionListeners () [Inherited From Component]
  Returns an array of all the mouse motion listeners registered on this component.
public Point getMousePosition () throws HeadlessException [Inherited From Component]
  Returns the position of the mouse pointer in this Component's coordinate space if the Component is directly under the mouse pointer, otherwise returns null.
public Point getMousePosition (boolean allowChildren) throws HeadlessException [Inherited From Container]
  Returns the position of the mouse pointer in this Container's coordinate space if the Container is under the mouse pointer, otherwise returns null.
publicsynchronized MouseWheelListener getMouseWheelListeners () [Inherited From Component]
  Returns an array of all the mouse wheel listeners registered on this component.
public String getName () [Inherited From Component]
  Gets the name of the component.
pack-private Container getNativeContainer () [Inherited From Component]
public Window getOwnedWindows () [Inherited From Window]
  Return an array containing all the windows this window currently owns.
public Window getOwner () [Inherited From Window]
  Returns the owner of this window.
publicstatic Window getOwnerlessWindows () [Inherited From Window]
  Returns an array of all Windows created by this application that have no owner.
pack-privatefinal Container getParent_NoClientCode () [Inherited From Component]
public Container getParent () [Inherited From Component]
  Gets the parent of this component.
@Deprecated
public ComponentPeer getPeer () [Inherited From Component]
public Dimension getPreferredSize () [Inherited From Container]
  Returns the preferred size of this container.
publicsynchronized PropertyChangeListener getPropertyChangeListeners () [Inherited From Component]
  Returns an array of all the property change listeners registered on this component.
publicsynchronized PropertyChangeListener getPropertyChangeListeners (String propertyName) [Inherited From Component]
  Returns an array of all the listeners which have been associated with the named property.
public Dimension getSize () [Inherited From Component]
  Returns the size of this component in the form of a Dimension object.
public Dimension getSize (Dimension rv) [Inherited From Component]
  Stores the width/height of this component into "return value" rv and return rv.
publicsynchronized int getState ()
  Gets the state of this frame (obsolete).
pack-private Component getTemporaryLostComponent () [Inherited From Window]
public String getTitle ()
  Gets the title of the frame.
public Toolkit getToolkit () [Inherited From Window]
  Returns the toolkit of this frame.
pack-privatefinal Toolkit getToolkitImpl () [Inherited From Component]
publicfinal Object getTreeLock () [Inherited From Component]
  Gets this component's locking object (the object that owns the thread sychronization monitor) for AWT component-tree and layout operations.
publicfinal String getWarningString () [Inherited From Window]
  Gets the warning string that is displayed with this window.
public int getWidth () [Inherited From Component]
  Returns the current width of this component.
publicsynchronized WindowFocusListener getWindowFocusListeners () [Inherited From Window]
  Returns an array of all the window focus listeners registered on this window.
publicsynchronized WindowListener getWindowListeners () [Inherited From Window]
  Returns an array of all the window listeners registered on this window.
publicstatic Window getWindows () [Inherited From Window]
  Returns an array of all Windows, both owned and ownerless, created by this application.
publicsynchronized WindowStateListener getWindowStateListeners () [Inherited From Window]
  Returns an array of all the window state listeners registered on this window.
public int getX () [Inherited From Component]
  Returns the current x coordinate of the components origin.
public int getY () [Inherited From Component]
  Returns the current y coordinate of the components origin.
@Deprecated
public boolean gotFocus (Event evt, Object what) [Inherited From Component]
@Deprecated
public boolean handleEvent (Event evt) [Inherited From Component]
public boolean hasFocus () [Inherited From Component]
  Returns true if this Component is the focus owner.
@Deprecated
public void hide () [Inherited From Window]
  Hide this Window, its subcomponents, and all of its owned children.
public boolean imageUpdate (Image img, int infoflags, int x, int y, int w, int h) [Inherited From Component]
  Repaints the component when the image has changed.
pack-private void initializeFocusTraversalKeys () [Inherited From Container]
@Deprecated
public Insets insets () [Inherited From Container]
@Deprecated
public boolean inside (int x, int y) [Inherited From Component]
public void invalidate () [Inherited From Container]
  Invalidates the container.
pack-private void invalidateTree () [Inherited From Container]
Recursively descends the container tree and invalidates all contained components.
public boolean isActive () [Inherited From Window]
  Returns whether this Window is active.
publicfinal boolean isAlwaysOnTop () [Inherited From Window]
  Returns whether this window is an always-on-top window.
public boolean isAlwaysOnTopSupported () [Inherited From Window]
  Returns whether the always-on-top mode is supported for this window.
public boolean isAncestorOf (Component c) [Inherited From Container]
  Checks if the component is contained in the component hierarchy of this container.
public boolean isBackgroundSet () [Inherited From Component]
  Returns whether the background color has been explicitly set for this Component.
pack-privatefinal boolean isCoalescingEnabled () [Inherited From Component]
Indicates whether coalesceEvents may do something.
public boolean isCursorSet () [Inherited From Component]
  Returns whether the cursor has been explicitly set for this Component.
public boolean isDisplayable () [Inherited From Component]
  Determines whether this component is displayable.
public boolean isDoubleBuffered () [Inherited From Component]
  Returns true if this component is painted to an offscreen image ("buffer") that's copied to the screen later.
public boolean isEnabled () [Inherited From Component]
  Determines whether this component is enabled.
pack-privatefinal boolean isEnabledImpl () [Inherited From Component]
public boolean isFocusable () [Inherited From Component]
  Returns whether this Component can be focused.
publicfinal boolean isFocusableWindow () [Inherited From Window]
  Returns whether this Window can become the focused Window, that is, whether this Window or any of its subcomponents can become the focus owner.
publicfinal boolean isFocusCycleRoot () [Inherited From Window]
  Always returns true because all Windows must be roots of a focus traversal cycle.
public boolean isFocusCycleRoot (Container container) [Inherited From Container]
  Returns whether the specified Container is the focus cycle root of this Container's focus traversal cycle.
public boolean isFocused () [Inherited From Window]
  Returns whether this Window is focused.
public boolean isFocusOwner () [Inherited From Component]
  Returns true if this Component is the focus owner.
@Deprecated
public boolean isFocusTraversable () [Inherited From Component]
  Returns whether this Component can become the focus owner.
pack-privatefinal boolean isFocusTraversableOverridden () [Inherited From Component]
publicfinal boolean isFocusTraversalPolicyProvider () [Inherited From Container]
  Returns whether this container provides focus traversal policy.
public boolean isFocusTraversalPolicySet () [Inherited From Container]
  Returns whether the focus traversal policy has been explicitly set for this Container.
public boolean isFontSet () [Inherited From Component]
  Returns whether the font has been explicitly set for this Component.
public boolean isForegroundSet () [Inherited From Component]
  Returns whether the foreground color has been explicitly set for this Component.
pack-privatestatic boolean isInstanceOf (Object obj, String className) [Inherited From Component]
  Checks that the given object is instance of the given class.
public boolean isLightweight () [Inherited From Component]
  A lightweight component doesn't have a native toolkit peer.
public boolean isLocationByPlatform () [Inherited From Window]
  Returns true if this Window will appear at the default location for the native windowing system the next time this Window is made visible.
public boolean isMaximumSizeSet () [Inherited From Component]
  Returns true if the maximum size has been set to a non-null value otherwise returns false.
public boolean isMinimumSizeSet () [Inherited From Component]
  Returns whether or not setMinimumSize has been invoked with a non-null value.
pack-private boolean isModalBlocked () [Inherited From Window]
pack-private boolean isModalExcluded (ModalExclusionType exclusionType) [Inherited From Window]
public boolean isOpaque () [Inherited From Component]
  Returns true if this component is completely opaque, returns false by default.
pack-private boolean isParentOf (Component comp) [Inherited From Container]
  Check if this component is the child of this container or its children.
public boolean isPreferredSizeSet () [Inherited From Component]
  Returns true if the preferred size has been set to a non-null value otherwise returns false.
pack-private boolean isRecursivelyVisible () [Inherited From Window]
  Determines whether this component will be displayed on the screen.
public boolean isResizable ()
  Indicates whether this frame is resizable by the user.
pack-private boolean isSameOrAncestorOf (Component comp, boolean allowChildren) [Inherited From Container]
public boolean isShowing () [Inherited From Window]
  Checks if this Window is showing on screen.
public boolean isUndecorated ()
  Indicates whether this frame is undecorated.
public boolean isValid () [Inherited From Component]
  Determines whether this component is valid.
public boolean isVisible () [Inherited From Component]
  Determines whether this component should be visible when its parent is visible.
@Deprecated
public boolean keyDown (Event evt, int key) [Inherited From Component]
@Deprecated
public boolean keyUp (Event evt, int key) [Inherited From Component]
@Deprecated
public void layout () [Inherited From Container]
pack-private void lightweightPaint (Graphics g) [Inherited From Container]
  Simulates the peer callbacks into java.awt for printing of lightweight Containers.
pack-private void lightweightPrint (Graphics g) [Inherited From Container]
  Simulates the peer callbacks into java.awt for printing of lightweight Containers.
public void list () [Inherited From Component]
  Prints a listing of this component to the standard system output stream System.out.
public void list (PrintStream out) [Inherited From Component]
  Prints a listing of this component to the specified output stream.
public void list (PrintStream out, int indent) [Inherited From Container]
  Prints a listing of this container to the specified output stream.
public void list (PrintWriter out) [Inherited From Component]
  Prints a listing to the specified print writer.
public void list (PrintWriter out, int indent) [Inherited From Container]
  Prints out a list, starting at the specified indentation, to the specified print writer.
@Deprecated
public Component locate (int x, int y) [Inherited From Container]
@Deprecated
public Point location () [Inherited From Component]
@Deprecated
public boolean lostFocus (Event evt, Object what) [Inherited From Component]
@Deprecated
public Dimension minimumSize () [Inherited From Container]
@Deprecated
public boolean mouseDown (Event evt, int x, int y) [Inherited From Component]
@Deprecated
public boolean mouseDrag (Event evt, int x, int y) [Inherited From Component]
@Deprecated
public boolean mouseEnter (Event evt, int x, int y) [Inherited From Component]
@Deprecated
public boolean mouseExit (Event evt, int x, int y) [Inherited From Component]
@Deprecated
public boolean mouseMove (Event evt, int x, int y) [Inherited From Component]
@Deprecated
public boolean mouseUp (Event evt, int x, int y) [Inherited From Component]
@Deprecated
public void move (int x, int y) [Inherited From Component]
@Deprecated
public void nextFocus () [Inherited From Component]
pack-private boolean nextFocusHelper () [Inherited From Container]
pack-private int numListening (long mask) [Inherited From Container]
public void pack () [Inherited From Window]
  Causes this Window to be sized to fit the preferred size and layouts of its subcomponents.
public void paint (Graphics g) [Inherited From Container]
  Paints the container.
public void paintAll (Graphics g) [Inherited From Component]
  Paints this component and all of its subcomponents.
public void paintComponents (Graphics g) [Inherited From Container]
  Paints each of the components in this container.
pack-private void paintHeavyweightComponents (Graphics g) [Inherited From Container]
Prints all the heavyweight subcomponents.
protected String paramString () [Overrides Container]
  Returns a string representing the state of this Frame.
pack-private Point pointRelativeToComponent (Point absolute) [Inherited From Component]
Translates absolute coordinates into coordinates in the coordinate space of this component.
@Deprecated
public boolean postEvent (Event e) [Inherited From Window]
pack-privatestatic boolean postNextFocusHelper (Component toFocus) [Inherited From Component]
pack-private void postProcessKeyEvent (KeyEvent e) [Overrides Window]
pack-private boolean postsOldMouseEvents () [Inherited From Container]
pack-privatesynchronized void postWindowEvent (int id) [Inherited From Window]
@Deprecated
public Dimension preferredSize () [Inherited From Container]
pack-private Component preNextFocusHelper () [Inherited From Component]
public boolean prepareImage (Image image, ImageObserver observer) [Inherited From Component]
  Prepares an image for rendering on this component.
public boolean prepareImage (Image image, int width, int height, ImageObserver observer) [Inherited From Component]
  Prepares an image for rendering on this component at the specified width and height.
pack-private void preProcessKeyEvent (KeyEvent e) [Inherited From Window]
  Implements a debugging hook -- checks to see if the user has typed control-shift-F1.
public void print (Graphics g) [Inherited From Container]
  Prints the container.
public void printAll (Graphics g) [Inherited From Component]
  Prints this component and all of its subcomponents.
public void printComponents (Graphics g) [Inherited From Container]
  Prints each of the components in this container.
pack-private void printHeavyweightComponents (Graphics g) [Inherited From Container]
Prints all the heavyweight subcomponents.
protected void processComponentEvent (ComponentEvent e) [Inherited From Component]
  Processes component events occurring on this component by dispatching them to any registered ComponentListener objects.
protected void processContainerEvent (ContainerEvent e) [Inherited From Container]
  Processes container events occurring on this container by dispatching them to any registered ContainerListener objects.
protected void processEvent (AWTEvent e) [Inherited From Window]
  Processes events on this window.
protected void processFocusEvent (FocusEvent e) [Inherited From Component]
  Processes focus events occurring on this component by dispatching them to any registered FocusListener objects.
protected void processHierarchyBoundsEvent (HierarchyEvent e) [Inherited From Component]
  Processes hierarchy bounds events occurring on this component by dispatching them to any registered HierarchyBoundsListener objects.
protected void processHierarchyEvent (HierarchyEvent e) [Inherited From Component]
  Processes hierarchy events occurring on this component by dispatching them to any registered HierarchyListener objects.
protected void processInputMethodEvent (InputMethodEvent e) [Inherited From Component]
  Processes input method events occurring on this component by dispatching them to any registered InputMethodListener objects.
protected void processKeyEvent (KeyEvent e) [Inherited From Component]
  Processes key events occurring on this component by dispatching them to any registered KeyListener objects.
protected void processMouseEvent (MouseEvent e) [Inherited From Component]
  Processes mouse events occurring on this component by dispatching them to any registered MouseListener objects.
protected void processMouseMotionEvent (MouseEvent e) [Inherited From Component]
  Processes mouse motion events occurring on this component by dispatching them to any registered MouseMotionListener objects.
protected void processMouseWheelEvent (MouseWheelEvent e) [Inherited From Component]
  Processes mouse wheel events occurring on this component by dispatching them to any registered MouseWheelListener objects.
protected void processWindowEvent (WindowEvent e) [Inherited From Window]
  Processes window events occurring on this window by dispatching them to any registered WindowListener objects.
protected void processWindowFocusEvent (WindowEvent e) [Inherited From Window]
  Processes window focus event occuring on this window by dispatching them to any registered WindowFocusListener objects.
protected void processWindowStateEvent (WindowEvent e) [Inherited From Window]
  Processes window state event occuring on this window by dispatching them to any registered WindowStateListener objects.
pack-private void proxyEnableEvents (long events) [Inherited From Container]
  This is called by lightweight components that want the containing windowed parent to enable some kind of events on their behalf.
public void remove (Component comp) [Inherited From Container]
  Removes the specified component from this container.
public void remove (int index) [Inherited From Container]
  Removes the component, specified by index, from this container.
public void remove (MenuComponent m) [Overrides Component] [Specified in MenuContainer]
  Removes the specified menu bar from this frame.
public void removeAll () [Inherited From Container]
  Removes all the components from this container.
publicsynchronized void removeComponentListener (ComponentListener l) [Inherited From Component]
  Removes the specified component listener so that it no longer receives component events from this component.
publicsynchronized void removeContainerListener (ContainerListener l) [Inherited From Container]
  Removes the specified container listener so it no longer receives container events from this container.
publicsynchronized void removeFocusListener (FocusListener l) [Inherited From Component]
  Removes the specified focus listener so that it no longer receives focus events from this component.
public void removeHierarchyBoundsListener (HierarchyBoundsListener l) [Inherited From Component]
  Removes the specified hierarchy bounds listener so that it no longer receives hierarchy bounds events from this component.
public void removeHierarchyListener (HierarchyListener l) [Inherited From Component]
  Removes the specified hierarchy listener so that it no longer receives hierarchy changed events from this component.
publicsynchronized void removeInputMethodListener (InputMethodListener l) [Inherited From Component]
  Removes the specified input method listener so that it no longer receives input method events from this component.
publicsynchronized void removeKeyListener (KeyListener l) [Inherited From Component]
  Removes the specified key listener so that it no longer receives key events from this component.
publicsynchronized void removeMouseListener (MouseListener l) [Inherited From Component]
  Removes the specified mouse listener so that it no longer receives mouse events from this component.
publicsynchronized void removeMouseMotionListener (MouseMotionListener l) [Inherited From Component]
  Removes the specified mouse motion listener so that it no longer receives mouse motion events from this component.
publicsynchronized void removeMouseWheelListener (MouseWheelListener l) [Inherited From Component]
  Removes the specified mouse wheel listener so that it no longer receives mouse wheel events from this component.
public void removeNotify () [Overrides Window]
  Makes this Frame undisplayable by removing its connection to its native screen resource.
pack-private void removeOwnedWindow (WeakReference weakWindow) [Inherited From Window]
publicsynchronized void removePropertyChangeListener (PropertyChangeListener listener) [Inherited From Component]
  Removes a PropertyChangeListener from the listener list.
publicsynchronized void removePropertyChangeListener (String propertyName, PropertyChangeListener listener) [Inherited From Component]
  Removes a PropertyChangeListener from the listener list for a specific property.
publicsynchronized void removeWindowFocusListener (WindowFocusListener l) [Inherited From Window]
  Removes the specified window focus listener so that it no longer receives window events from this window.
publicsynchronized void removeWindowListener (WindowListener l) [Inherited From Window]
  Removes the specified window listener so that it no longer receives window events from this window.
publicsynchronized void removeWindowStateListener (WindowStateListener l) [Inherited From Window]
  Removes the specified window state listener so that it no longer receives window events from this window.
public void repaint () [Inherited From Component]
  Repaints this component.
public void repaint (int x, int y, int width, int height) [Inherited From Component]
  Repaints the specified rectangle of this component.
public void repaint (long tm) [Inherited From Component]
  Repaints the component.
public void repaint (long tm, int x, int y, int width, int height) [Inherited From Component]
  Repaints the specified rectangle of this component within tm milliseconds.
public void requestFocus () [Inherited From Component]
  Requests that this Component get the input focus, and that this Component's top-level ancestor become the focused Window.
protected boolean requestFocus (boolean temporary) [Inherited From Component]
  Requests that this Component get the input focus, and that this Component's top-level ancestor become the focused Window.
pack-private boolean requestFocus (boolean temporary, sun.awt.CausedFocusEvent.Cause cause) [Inherited From Component]
pack-private void requestFocus (sun.awt.CausedFocusEvent.Cause cause) [Inherited From Component]
pack-privatefinal boolean requestFocusHelper (boolean temporary, boolean focusedWindowChangeAllowed) [Inherited From Component]
pack-privatefinal boolean requestFocusHelper (boolean temporary, boolean focusedWindowChangeAllowed, sun.awt.CausedFocusEvent.Cause cause) [Inherited From Component]
public boolean requestFocusInWindow () [Inherited From Component]
  Requests that this Component get the input focus, if this Component's top-level ancestor is already the focused Window.
protected boolean requestFocusInWindow (boolean temporary) [Inherited From Component]
  Requests that this Component get the input focus, if this Component's top-level ancestor is already the focused Window.
pack-private boolean requestFocusInWindow (boolean temporary, sun.awt.CausedFocusEvent.Cause cause) [Inherited From Component]
pack-private boolean requestFocusInWindow (sun.awt.CausedFocusEvent.Cause cause) [Inherited From Component]
pack-private void resetGC () [Inherited From Window]
Reset this Window's GraphicsConfiguration to match its peer.
@Deprecated
public void reshape (int x, int y, int width, int height) [Inherited From Window]
@Deprecated
public void resize (Dimension d) [Inherited From Component]
@Deprecated
public void resize (int width, int height) [Inherited From Component]
publicfinal void setAlwaysOnTop (boolean alwaysOnTop) throws SecurityException [Inherited From Window]
  Sets whether this window should always be above other windows.
public void setBackground (Color c) [Inherited From Component]
  Sets the background color of this component.
public void setBounds (int x, int y, int width, int height) [Inherited From Window]
  Moves and resizes this component.
public void setBounds (Rectangle r) [Inherited From Window]
  Moves and resizes this component to conform to the new bounding rectangle r.
pack-private void setBoundsOp (int op) [Inherited From Component]
pack-private void setClientSize (int w, int h) [Inherited From Window]
public void setComponentOrientation (ComponentOrientation o) [Inherited From Component]
  Sets the language-sensitive orientation that is to be used to order the elements or text within this component.
public void setComponentZOrder (Component comp, int index) [Inherited From Container]
  Moves the specified component to the specified z-order index in the container.
public void setCursor (Cursor cursor) [Inherited From Window]
  Set the cursor image to a specified cursor.
@Deprecated
public void setCursor (int cursorType)
publicsynchronized void setDropTarget (DropTarget dt) [Inherited From Component]
  Associate a DropTarget with this component.
public void setEnabled (boolean b) [Inherited From Component]
  Enables or disables this component, depending on the value of the parameter b.
publicsynchronized void setExtendedState (int state)
  Sets the state of this frame.
public void setFocusable (boolean focusable) [Inherited From Component]
  Sets the focusable state of this Component to the specified value.
public void setFocusableWindowState (boolean focusableWindowState) [Inherited From Window]
  Sets whether this Window can become the focused Window if it meets the other requirements outlined in isFocusableWindow.
publicfinal void setFocusCycleRoot (boolean focusCycleRoot) [Inherited From Window]
  Does nothing because Windows must always be roots of a focus traversal cycle.
pack-privatefinal void setFocusTraversalKeys_NoIDCheck (int id, Set<AWTKeyStroke> keystrokes) [Inherited From Component]
public void setFocusTraversalKeys (int id, Set<AWTKeyStroke> keystrokes) [Inherited From Container]
  Sets the focus traversal keys for a given traversal operation for this Container.
public void setFocusTraversalKeysEnabled (boolean focusTraversalKeysEnabled) [Inherited From Component]
  Sets whether focus traversal keys are enabled for this Component.
public void setFocusTraversalPolicy (FocusTraversalPolicy policy) [Inherited From Container]
  Sets the focus traversal policy that will manage keyboard traversal of this Container's children, if this Container is a focus cycle root.
publicfinal void setFocusTraversalPolicyProvider (boolean provider) [Inherited From Container]
  Sets whether this container will be used to provide focus traversal policy.
public void setFont (Font f) [Inherited From Container]
  Sets the font of this container.
public void setForeground (Color c) [Inherited From Component]
  Sets the foreground color of this component.
pack-private void setGCFromPeer () [Inherited From Component]
public void setIconImage (Image image) [Overrides Window]
  Sets the image to be displayed as the icon for this window.
publicsynchronized void setIconImages (List<Image> icons) [Inherited From Window]
  Sets the sequence of images to be displayed as the icon for this window.
public void setIgnoreRepaint (boolean ignoreRepaint) [Inherited From Component]
  Sets whether or not paint messages received from the operating system should be ignored.
public void setLayout (LayoutManager mgr) [Inherited From Container]
  Sets the layout manager for this container.
public void setLocale (Locale l) [Inherited From Component]
  Sets the locale of this component.
public void setLocation (int x, int y) [Inherited From Component]
  Moves this component to a new location.
public void setLocation (Point p) [Inherited From Component]
  Moves this component to a new location.
public void setLocationByPlatform (boolean locationByPlatform) [Inherited From Window]
  Sets whether this Window should appear at the default location for the native windowing system or at the current location (returned by getLocation) the next time the Window is made visible.
public void setLocationRelativeTo (Component c) [Inherited From Window]
  Sets the location of the window relative to the specified component.
publicsynchronized void setMaximizedBounds (Rectangle bounds)
  Sets the maximized bounds for this frame.
public void setMaximumSize (Dimension maximumSize) [Inherited From Component]
  Sets the maximum size of this component to a constant value.
public void setMenuBar (MenuBar mb)
  Sets the menu bar for this frame to the specified menu bar.
public void setMinimumSize (Dimension minimumSize) [Inherited From Window]
  Sets the minimum size of this window to a constant value.
pack-private void setModalBlocked (Dialog blocker, boolean blocked) [Inherited From Window]
public void setModalExclusionType (ModalExclusionType exclusionType) [Inherited From Window]
  Specifies the modal exclusion type for this window.
public void setName (String name) [Inherited From Component]
  Sets the name of the component to the specified string.
public void setPreferredSize (Dimension preferredSize) [Inherited From Component]
  Sets the preferred size of this component to a constant value.
pack-privatestaticsynchronized void setRequestFocusController (sun.awt.RequestFocusController requestController) [Inherited From Component]
public void setResizable (boolean resizable)
  Sets whether this frame is resizable by the user.
public void setSize (Dimension d) [Inherited From Window]
  Resizes this component so that it has width d.width and height d.height.
public void setSize (int width, int height) [Inherited From Window]
  Resizes this component so that it has width width and height height.
publicsynchronized void setState (int state)
  Sets the state of this frame (obsolete).
pack-private Component setTemporaryLostComponent (Component component) [Inherited From Window]
public void setTitle (String title)
  Sets the title for this frame to the specified string.
public void setUndecorated (boolean undecorated)
  Disables or enables decorations for this frame.
public void setVisible (boolean b) [Inherited From Window]
  Shows or hides this Window depending on the value of parameter b.
@Deprecated
public void show () [Inherited From Window]
  Makes the Window visible.
@Deprecated
public void show (boolean b) [Inherited From Component]
@Deprecated
public Dimension size () [Inherited From Component]
pack-privatefinal void toBack_NoClientCode () [Inherited From Window]
public void toBack () [Inherited From Window]
  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.
pack-privatefinal void toFront_NoClientCode () [Inherited From Window]
public void toFront () [Inherited From Window]
  If this Window is visible, brings this Window to the front and may make it the focused Window.
public String toString () [Inherited From Component]
  Returns a string representation of this component and its values.
public void transferFocus () [Inherited From Component]
  Transfers the focus to the next component, as though this Component were the focus owner.
public void transferFocusBackward () [Inherited From Container]
public void transferFocusDownCycle () [Inherited From Container]
  Transfers the focus down one focus traversal cycle.
public void transferFocusUpCycle () [Inherited From Component]
  Transfers the focus up one focus traversal cycle.
public void update (Graphics g) [Inherited From Container]
  Updates the container.
pack-privatestatic void updateChildFocusableWindowState (Window w) [Inherited From Window]
pack-private void updateChildrenBlocking () [Inherited From Window]
pack-privatefinal void updateCursorImmediately () [Inherited From Component]
  Updates the cursor.
public void validate () [Inherited From Container]
  Validates this container and all of its subcomponents.
protected void validateTree () [Inherited From Container]
  Recursively descends the container tree and recomputes the layout for any subtrees marked as needing it (those marked as invalid).
Fields
Hide/Show inherited fields
pack-private AccessibleContext accessibleContext [Inherited From Component]
pack-privatefinalstatic String actionListenerK = "actionL" [Inherited From Component]
Internal, constants for serialization
pack-privatefinalstatic String adjustmentListenerK = "adjustmentL" [Inherited From Component]
pack-privatestatic Vector<Window> allWindows [Inherited From Window]
  Contains all the windows that have a peer object associated, i.
pack-privatetransient Object anchor [Inherited From Window]
pack-privatetransient sun.awt.AppContext appContext [Inherited From Component]
  The AppContext of the component.
pack-private Color background [Inherited From Component]
  The background color for this component.
pack-privatetransient boolean beforeFirstShow [Inherited From Window]
publicfinalstatic float BOTTOM_ALIGNMENT = "1.0" [Inherited From Component]
  Ease-of-use constant for getAlignmentY.
pack-privatetransient BufferStrategy bufferStrategy [Inherited From Component]
  A reference to a BufferStrategy object used to manipulate the buffers on this component.
publicfinalstatic float CENTER_ALIGNMENT = "0.5" [Inherited From Component]
  Ease-of-use constant for getAlignmentY and getAlignmentX.
pack-private Component component [Inherited From Container]
  The components in this container.
pack-privatetransient ComponentListener componentListener [Inherited From Component]
pack-privatefinalstatic String componentListenerK = "componentL" [Inherited From Component]
pack-privatetransient ComponentOrientation componentOrientation [Inherited From Component]
  The orientation for this component.
pack-privatetransient ContainerListener containerListener [Inherited From Container]
pack-privatefinalstatic String containerListenerK = "containerL" [Inherited From Component]
@Deprecated
publicfinalstatic int CROSSHAIR_CURSOR = "1"
pack-private Cursor cursor [Inherited From Component]
  The cursor displayed when pointer is over this component.
@Deprecated
publicfinalstatic int DEFAULT_CURSOR = "0"
pack-privatetransient int descendantsCount [Inherited From Container]
pack-private DropTarget dropTarget [Inherited From Component]
  The DropTarget associated with this component.
@Deprecated
publicfinalstatic int E_RESIZE_CURSOR = "11"
pack-private boolean enabled [Inherited From Component]
  True when the object is enabled.
pack-privatetransient EventQueueItem eventCache [Inherited From Component]
pack-private long eventMask [Inherited From Component]
  The eventMask is ONLY set by subclasses via enableEvents.
pack-privatetransient FocusListener focusListener [Inherited From Component]
pack-privatefinalstatic String focusListenerK = "focusL" [Inherited From Component]
pack-private Set focusTraversalKeys [Inherited From Component]
  The focus traversal keys.
pack-private Font font [Inherited From Component]
  The font used by this component.
pack-private Color foreground [Inherited From Component]
  The foreground color for this component.
pack-privatetransient GraphicsConfiguration graphicsConfig [Inherited From Component]
  A reference to a GraphicsConfiguration object used to describe the characteristics of a graphics destination.
@Deprecated
publicfinalstatic int HAND_CURSOR = "12"
pack-private int height [Inherited From Component]
  The height of the component.
pack-privatetransient HierarchyBoundsListener hierarchyBoundsListener [Inherited From Component]
pack-privatefinalstatic String hierarchyBoundsListenerK = "hierarchyBoundsL" [Inherited From Component]
pack-privatetransient HierarchyListener hierarchyListener [Inherited From Component]
pack-privatefinalstatic String hierarchyListenerK = "hierarchyL" [Inherited From Component]
publicfinalstatic int ICONIFIED = "1"
  This state bit indicates that frame is iconified.
pack-privatetransient List<Image> icons [Inherited From Window]
  icons is the graphical way we can represent the frames and dialogs.
pack-private boolean ignoreRepaint [Inherited From Component]
  True when the object should ignore all repaint events.
pack-privatefinalstatic boolean INCLUDE_SELF = "true" [Inherited From Container]
  A constant which toggles one of the controllable behaviors of getMouseEventTarget.
pack-privatestatic int incRate [Inherited From Component]
pack-privatetransient InputContext inputContext [Inherited From Window]
pack-privatetransient InputMethodListener inputMethodListener [Inherited From Component]
pack-privatefinalstatic String inputMethodListenerK = "inputMethodL" [Inherited From Component]
pack-privatestatic boolean isInc [Inherited From Component]
  Static properties for incremental drawing.
pack-privatetransient boolean isInShow [Inherited From Window]
pack-private boolean isPacked [Inherited From Component]
pack-privatetransient boolean isTrayIconWindow [Inherited From Window]
pack-privatefinalstatic String itemListenerK = "itemL" [Inherited From Component]
pack-privatetransient KeyListener keyListener [Inherited From Component]
pack-privatefinalstatic String keyListenerK = "keyL" [Inherited From Component]
pack-private LayoutManager layoutMgr [Inherited From Container]
  Layout manager for this container.
publicfinalstatic float LEFT_ALIGNMENT = "0.0" [Inherited From Component]
  Ease-of-use constant for getAlignmentX.
pack-privatetransient int listeningBoundsChildren [Inherited From Container]
pack-privatetransient int listeningChildren [Inherited From Container]
pack-private Locale locale [Inherited From Component]
  The locale for the component.
pack-privatefinalstatic Object LOCK [Inherited From Component]
  The locking object for AWT component-tree and layout operations.
publicfinalstatic int MAXIMIZED_BOTH = "6"
  This state bit mask indicates that frame is fully maximized (that is both horizontally and vertically).
publicfinalstatic int MAXIMIZED_HORIZ = "2"
  This state bit indicates that frame is maximized in the horizontal direction.
publicfinalstatic int MAXIMIZED_VERT = "4"
  This state bit indicates that frame is maximized in the vertical direction.
pack-private Rectangle maximizedBounds
  Maximized bounds for this frame.
pack-private Dimension maxSize [Inherited From Component]
Maximum size
pack-private boolean maxSizeSet [Inherited From Component]
Whether or not setMaximumSize has been invoked with a non-null value.
pack-private boolean mbManagement
mbManagement is only used by the Motif implementation.
pack-private MenuBar menuBar
  The frames menubar.
pack-private Dimension minSize [Inherited From Component]
  Minimum size.
pack-private boolean minSizeSet [Inherited From Component]
Whether or not setMinimumSize has been invoked with a non-null value.
pack-privatetransient sun.awt.AppContext modalAppContext [Inherited From Container]
pack-privatetransient Dialog modalBlocker [Inherited From Window]
  Contains the modal dialog that blocks this window, or null if the window is unblocked.
pack-privatetransient Component modalComp [Inherited From Container]
pack-privatetransient MouseListener mouseListener [Inherited From Component]
pack-privatefinalstatic String mouseListenerK = "mouseL" [Inherited From Component]
pack-privatetransient MouseMotionListener mouseMotionListener [Inherited From Component]
pack-privatefinalstatic String mouseMotionListenerK = "mouseMotionL" [Inherited From Component]
pack-privatetransient MouseWheelListener mouseWheelListener [Inherited From Component]
pack-privatefinalstatic String mouseWheelListenerK = "mouseWheelL" [Inherited From Component]
@Deprecated
publicfinalstatic int MOVE_CURSOR = "13"
@Deprecated
publicfinalstatic int N_RESIZE_CURSOR = "8"
pack-privatetransient NativeInLightFixer nativeInLightFixer [Inherited From Component]
pack-private int ncomponents [Inherited From Container]
  The number of components in this container.
@Deprecated
publicfinalstatic int NE_RESIZE_CURSOR = "7"
pack-private boolean newEventsOnly [Inherited From Component]
  newEventsOnly will be true if the event is one of the event types enabled for the component.
publicfinalstatic int NORMAL = "0"
  Frame is in the "normal" state.
@Deprecated
publicfinalstatic int NW_RESIZE_CURSOR = "6"
pack-privatefinalstatic int OPENED = "1" [Inherited From Window]
pack-privatefinalstatic String ownedWindowK = "ownedL" [Inherited From Component]
pack-privatetransient Vector<WeakReference<Window>> ownedWindowList [Inherited From Window]
  A vector containing all the windows this window currently owns.
pack-private Vector ownedWindows
pack-privatetransient Container parent [Inherited From Component]
  The parent of the object.
pack-privatetransient ComponentPeer peer [Inherited From Component]
  The peer of the component.
pack-private Font peerFont [Inherited From Component]
  The font which the peer is currently using.
pack-private Vector popups [Inherited From Component]
 
pack-private Dimension prefSize [Inherited From Component]
  Preferred size.
pack-private boolean prefSizeSet [Inherited From Component]
Whether or not setPreferredSize has been invoked with a non-null value.
pack-private boolean resizable
  This field indicates whether the frame is resizable.
publicfinalstatic float RIGHT_ALIGNMENT = "1.0" [Inherited From Component]
  Ease-of-use constant for getAlignmentX.
@Deprecated
publicfinalstatic int S_RESIZE_CURSOR = "9"
@Deprecated
publicfinalstatic int SE_RESIZE_CURSOR = "5"
pack-privatefinalstatic boolean SEARCH_HEAVYWEIGHTS = "true" [Inherited From Container]
  A constant which toggles one of the controllable behaviors of getMouseEventTarget.
pack-privatetransient boolean showWithParent [Inherited From Window]
pack-private int state [Inherited From Window]
  An Integer value representing the Window State.
@Deprecated
publicfinalstatic int SW_RESIZE_CURSOR = "4"
pack-private boolean syncLWRequests [Inherited From Window]
pack-privatestatic boolean systemSyncLWRequests [Inherited From Window]
@Deprecated
publicfinalstatic int TEXT_CURSOR = "2"
pack-privatefinalstatic String textListenerK = "textL" [Inherited From Component]
pack-private String title
  This is the title of the frame.
publicfinalstatic float TOP_ALIGNMENT = "0.0" [Inherited From Component]
  Ease-of-use constant for getAlignmentY().
pack-private boolean undecorated
  This field indicates whether the frame is undecorated.
pack-private boolean valid [Inherited From Component]
  True when the object is valid.
pack-private boolean visible [Inherited From Component]
  True when the object is visible.
@Deprecated
publicfinalstatic int W_RESIZE_CURSOR = "10"
@Deprecated
publicfinalstatic int WAIT_CURSOR = "3"
pack-private String warningString [Inherited From Window]
  This represents the warning message that is to be displayed in a non secure window.
pack-private int width [Inherited From Component]
  The width of the component.
pack-privatetransient RuntimeException windowClosingException [Inherited From Component]
pack-privatetransient WindowFocusListener windowFocusListener [Inherited From Window]
pack-privatefinalstatic String windowFocusListenerK = "windowFocusL" [Inherited From Component]
pack-privatetransient WindowListener windowListener [Inherited From Window]
pack-privatefinalstatic String windowListenerK = "windowL" [Inherited From Component]
pack-privatetransient WindowStateListener windowStateListener [Inherited From Window]
pack-privatefinalstatic String windowStateListenerK = "windowStateL" [Inherited From Component]
pack-private int x [Inherited From Component]
  The x position of the component in the parent's coordinate system.
pack-private int y [Inherited From Component]
  The y position of the component in the parent's coordinate system.
Nested Classes
  Frame.AccessibleAWTFrame
This class implements accessibility support for the Frame class.
  Window.WindowDisposerRecord
  Window.AccessibleAWTWindow
This class implements accessibility support for the Window class.
  Container.EventTargetFilter
  Container.MouseEventTargetFilter
  Container.DropTargetEventTargetFilter
  Container.WakingRunnable
  Container.AccessibleAWTContainer
Inner class of Container used to provide default support for accessibility.
  Component.AWTTreeLock
  Component.BaselineResizeBehavior
Enumeration of the common ways the baseline of a component can change as the size changes.
  Component.FlipBufferStrategy
Inner class for flipping buffers on a component.
  Component.BltBufferStrategy
Inner class for blitting offscreen surfaces to a component.
  Component.NativeInLightFixer
This odd class is to help out a native component that has been embedded in a lightweight component.
  Component.AccessibleAWTComponent
Inner class of Component used to provide default support for accessibility.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar