AdventureGUI
The singleton object AdventureGUI
represents a GUI-based version of the Adventure
game application. The object serves as a possible entry point for the game app, and can
be run to start up a user interface that operates in a separate window. The GUI reads
its input from a text field and displays information about the game world in uneditable
text areas.
NOTE TO STUDENTS: In this course, you don’t need to understand how this object works or can be used, apart from the fact that you can use this file to start the program.
- See also:
Value members
Concrete methods
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.
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.
Inherited methods
Installed reaction won't receive events from the given publisher anylonger.
Installed reaction won't receive events from the given publisher anylonger.
- Inherited from:
- Reactor
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.
- Inherited from:
- Reactor
Initializes the application and runs the given program.
Initializes the application and runs the given program.
- Inherited from:
- SwingApplication
Finalizes the application by calling shutdown
and exits.
Finalizes the application by calling shutdown
and exits.
- Inherited from:
- SwingApplication
Called before the application is exited. Override to customize.
Called before the application is exited. Override to customize.
- Inherited from:
- SwingApplication
Calls top
, packs the frame, and displays it.
Calls top
, packs the frame, and displays it.
- Definition Classes
- Inherited from:
- SimpleSwingApplication