Class HoverInfoWindow

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer

public class HoverInfoWindow extends JWindow
Simple hover popup window for displaying hover text near the cursor.
See Also:
  • Constructor Details

    • HoverInfoWindow

      public HoverInfoWindow(Window owner)
  • Method Details

    • showMessage

      public void showMessage(HoverEvent he, String message)
      Show the hover message at the location of the given HoverEvent.
      Parameters:
      he - the HoverEvent containing the location to show the message
      message - the message to display, or null/empty to hide
    • hideMessage

      public void hideMessage()
      Hide the hover message.