A GUI application's version of the main method.
A GUI application's version of the main method. Called by the default main method implementation provided by this class. Implement to return the top-level frame of this application.
Installed reaction won't receive events from the given publisher anylonger.
Installed reaction won't receive events from the given publisher anylonger.
Listen to the given publisher as long as deafTo
isn't called for
them.
Listen to the given publisher as long as deafTo
isn't called for
them.
Initializes the application and runs the given program.
Initializes the application and runs the given program.
Finalizes the application by calling shutdown
and exits.
Finalizes the application by calling shutdown
and exits.
All reactions of this reactor.
All reactions of this reactor.
Called before the application is exited.
Called before the application is exited. Override to customize.
Calls top
, packs the frame, and displays it.
Calls top
, packs the frame, and displays it.
Extend this class for most simple UI applications. Clients need to implement the
top
method. Framework initialization is done by this class.In order to conform to Swing's threading policy, never implement top or any additional member that created Swing components as a value unless component creation happens on the EDT (see
Swing.onEDT
andSwing.onEDTWait
). Lazy values are okay for the same reason if they are initialized on the EDT always.