API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing. Popup View Source
Author(s)
Since
1.4
Version
1.20 04/26/06
Serial
Hierarchy
 Object
      Popup
Implements
Subclasses
Description
public class Popup
  Popups are used to display a Component to the user, typically on top of all the other Components in a particular containment hierarchy.
See also:    PopupFactory
Constructors
protected Popup ()
  Creates a Popup.
protected Popup (Component owner, Component contents, int x, int y)
  Creates a Popup for the Component owner containing the Component contents.
Methods
Hide/Show inherited methods
pack-private Component createComponent (Component owner)
  Creates the Component to use as the parent of the Popup.
pack-private void dispose ()
Frees any resources the Popup may be holding onto.
pack-private Component getComponent ()
Returns the Component returned from createComponent that will hold the Popup.
public void hide ()
  Hides and disposes of the Popup.
pack-private void pack ()
Causes the Popup to be sized to fit the preferred size of the Component it contains.
pack-private void reset (Component owner, Component contents, int ownerX, int ownerY)
Resets the Popup to an initial state.
public void show ()
  Makes the Popup visible.
Fields
Hide/Show inherited fields
Nested Classes
  Popup.HeavyWeightWindow
Component used to house window.
  Popup.DefaultFrame
Used if no valid Window ancestor of the supplied owner is found.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar