Interface SingleFrame

All Superinterfaces:
FrameView, View

public interface SingleFrame extends FrameView
An application class that is the only view of the main window. Its commands and resources work as in any view.

When the application class implements it, the framework creates the main window and shows the application class in it, as FrameView describes. Closing the main window requests exit. Once the application is ready, it calls ready().

  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Called once, on the EDT, when the application is ready: the main window is shown and the events posted meanwhile have run.

    Methods inherited from interface FrameView

    configureFrame, menuBar, restoreBounds, toolBar

    Methods inherited from interface View

    content
  • Method Details

    • ready

      default void ready()
      Called once, on the EDT, when the application is ready: the main window is shown and the events posted meanwhile have run. It is called before the ReadyListeners. Work that must not delay showing the window, such as loading its first data, starts here.