public class MainWindow
extends java.awt.event.WindowAdapter
implements java.awt.event.ActionListener
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Handle button-clicks and other ActionEvents sent by controls.
|
java.lang.Object |
clone() |
static javax.swing.JFrame |
frame() |
void |
windowClosing(java.awt.event.WindowEvent e)
Saves things like window size and invokes config.saveConfig() on exit.
|
public static javax.swing.JFrame frame()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- The ActionEvent to be handled.public void windowClosing(java.awt.event.WindowEvent e)
windowClosing
in interface java.awt.event.WindowListener
windowClosing
in class java.awt.event.WindowAdapter
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException