Class PopupMessage

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

public class PopupMessage extends JFrame
See Also:
  • Field Details

  • Constructor Details

    • PopupMessage

      public PopupMessage(String s, int x, int y, String spec)
      Creates a toast with the given message at the specific point on the screen (x, y) with the given specification; there is no default
      Parameters:
      s - message string
      x - screen position x
      y - screen position y
      spec - toast specification
  • Method Details

    • showPopupMessage

      public void showPopupMessage(Integer timeAlive)
      Displays the toast
      Parameters:
      timeAlive - time the toast remains visible