|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectuk.co.petertribble.jingle.JingleMultiFrame
public class JingleMultiFrame
A Registry of JFrames. Allows an application to have multiple windows open and for the user to close just the one window or exit the entire application.
| Constructor Summary | |
|---|---|
JingleMultiFrame()
|
|
| Method Summary | |
|---|---|
static void |
register(javax.swing.JFrame f,
javax.swing.JMenuItem jmi)
Inserts the given JFrame and JMenuItem into
the registry. |
static void |
unregister(javax.swing.JFrame f)
Unregister the given JFrame. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JingleMultiFrame()
| Method Detail |
|---|
public static void register(javax.swing.JFrame f,
javax.swing.JMenuItem jmi)
JFrame and JMenuItem into
the registry.
public static void unregister(javax.swing.JFrame f)
JFrame. If there are no remaining
JFrames, exit the JVM. If there is only a single remaining
JFrame, disable its menu item.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||