Class FrameLauncher

All Implemented Interfaces:
WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class FrameLauncher extends Frame implements WindowListener
FrameLauncher is a double buffered frame to launch any thinlet component as an application
See Also:
  • Constructor Details

    • FrameLauncher

      public FrameLauncher(String title, @NotNull @NotNull Thinlet content, int width, int height)
      Construct and show a new frame with the specified title, including the given thinlet component. The frame is centered on the screen, and its preferred size is specified (excluding the frame's borders). The icon is the thinlet logo
      Parameters:
      title - the title to be displayed in the frame's border
      content - a thinlet instance
      width - the preferred width of the content
      height - the preferred height of the content
    • FrameLauncher

      public FrameLauncher(String title, @Nullable @Nullable Image icon, @NotNull @NotNull Thinlet content, int width, int height, boolean visible)
      Construct a new frame with the specified title, including the given thinlet component. The frame is centered on the screen, and its preferred size is specified (excluding the frame's borders). The frame icon is the parameter icon unless it is null, or has not completed loading in which case the default thinlet one will be used instead
      Parameters:
      title - the title to be displayed in the frame's border
      icon - the image to be displayed in the frame's border
      content - a thinlet instance
      width - the preferred width of the content
      height - the preferred height of the content
      visible - whether to make the frame visible immediately
  • Method Details