|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectuk.co.petertribble.jingle.JingleUtils
public class JingleUtils
A collection of miscellaneous graphical functions used by applications
| Constructor Summary | |
|---|---|
JingleUtils()
|
|
| Method Summary | |
|---|---|
static void |
Center(java.awt.Window w)
Locate a window centrally on the screen |
static javax.swing.JMenuBar |
closeMenuBar(javax.swing.JFrame f)
Gives a menubar that just does file-close |
static void |
errorPopup(javax.swing.JFrame f,
java.lang.String msg)
Creates an error popup. |
static javax.swing.JMenuBar |
exitMenuBar()
Gives a menubar that just does file-exit |
static void |
infoPopup(javax.swing.JFrame f,
java.lang.String msg)
Creates an informational popup. |
static void |
warningPopup(javax.swing.JFrame f,
java.lang.String msg)
Creates a warning popup. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JingleUtils()
| Method Detail |
|---|
public static void Center(java.awt.Window w)
w - The Window to be positionedpublic static javax.swing.JMenuBar exitMenuBar()
public static javax.swing.JMenuBar closeMenuBar(javax.swing.JFrame f)
public static void infoPopup(javax.swing.JFrame f,
java.lang.String msg)
public static void warningPopup(javax.swing.JFrame f,
java.lang.String msg)
public static void errorPopup(javax.swing.JFrame f,
java.lang.String msg)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||