Class JPopupPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class JPopupPanel extends JPanel
Panel that shows floating on top of all other panels positioned in relation to a component. Clicking outside panel closes it
Since:
25
See Also:
  • Constructor Details

    • JPopupPanel

      public JPopupPanel()
  • Method Details

    • uninstall

      public void uninstall()
    • install

      public void install(Component invoker)
    • show

      public void show(Component invoker, int x, int y)
      Displays panel with bottom right corner at at the position x,y, relative to top-left corner of reference component
      Parameters:
      invoker -
      x -
      y -
    • adjustLocation

      public void adjustLocation(Component rel, int x, int y)
      Adjust location of lower right corner in relation to rel-components top left corner
      Parameters:
      rel -
      x -
      y -