org.jfree.ui
Class ApplicationFrame
JFrame
org.jfree.ui.ApplicationFrame
- WindowListener
extends JFrame
implements WindowListener
A base class for creating the main frame for simple applications. The frame listens for
window closing events, and responds by shutting down the JVM. This is OK for small demo
applications...for more serious applications, you'll want to use something more robust.
void | windowActivated(WindowEvent event) - Required for WindowListener interface, but not used by this class.
|
void | windowClosed(WindowEvent event) - Required for WindowListener interface, but not used by this class.
|
void | windowClosing(WindowEvent event) - Listens for the main window closing, and shuts down the application.
|
void | windowDeactivated(WindowEvent event) - Required for WindowListener interface, but not used by this class.
|
void | windowDeiconified(WindowEvent event) - Required for WindowListener interface, but not used by this class.
|
void | windowIconified(WindowEvent event) - Required for WindowListener interface, but not used by this class.
|
void | windowOpened(WindowEvent event) - Required for WindowListener interface, but not used by this class.
|
ApplicationFrame
public ApplicationFrame(String title)
Constructs a new application frame.
windowActivated
public void windowActivated(WindowEvent event)
Required for WindowListener interface, but not used by this class.
event
- information about the window event.
windowClosed
public void windowClosed(WindowEvent event)
Required for WindowListener interface, but not used by this class.
event
- information about the window event.
windowClosing
public void windowClosing(WindowEvent event)
Listens for the main window closing, and shuts down the application.
event
- information about the window event.
windowDeactivated
public void windowDeactivated(WindowEvent event)
Required for WindowListener interface, but not used by this class.
event
- information about the window event.
windowDeiconified
public void windowDeiconified(WindowEvent event)
Required for WindowListener interface, but not used by this class.
event
- information about the window event.
windowIconified
public void windowIconified(WindowEvent event)
Required for WindowListener interface, but not used by this class.
event
- information about the window event.
windowOpened
public void windowOpened(WindowEvent event)
Required for WindowListener interface, but not used by this class.
event
- information about the window event.