org.gui
Class GUITool
java.lang.Object
org.gui.GUITool
public class GUITool
- extends java.lang.Object
Method Summary |
static void |
alert(java.lang.Object message)
|
static javax.swing.JFileChooser |
getFileChooser()
|
static java.io.File |
openFile(javax.swing.JComponent parent,
java.lang.String button_name)
|
static java.io.File[] |
openFiles(javax.swing.JComponent parent,
java.lang.String button_name)
|
static void |
setFileInputer(javax.swing.JComponent component,
FileInputer inputer)
|
static void |
setFileInputer(javax.swing.JComponent component,
javax.swing.JTextPane message_label,
FileInputer inputer)
|
static javax.swing.JFrame |
showFrame(javax.swing.JComponent component)
|
static javax.swing.JFrame |
showFrame(javax.swing.JComponent component,
int close_operation)
|
static boolean |
tryToSetSystemLookAndFeel()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GUITool
public GUITool()
tryToSetSystemLookAndFeel
public static boolean tryToSetSystemLookAndFeel()
throws java.lang.Exception
- Throws:
java.lang.Exception
openFiles
public static java.io.File[] openFiles(javax.swing.JComponent parent,
java.lang.String button_name)
throws java.lang.Exception
- Throws:
java.lang.Exception
openFile
public static java.io.File openFile(javax.swing.JComponent parent,
java.lang.String button_name)
throws java.lang.Exception
- Throws:
java.lang.Exception
getFileChooser
public static javax.swing.JFileChooser getFileChooser()
throws java.lang.Exception
- Throws:
java.lang.Exception
showFrame
public static javax.swing.JFrame showFrame(javax.swing.JComponent component)
showFrame
public static javax.swing.JFrame showFrame(javax.swing.JComponent component,
int close_operation)
alert
public static void alert(java.lang.Object message)
setFileInputer
public static void setFileInputer(javax.swing.JComponent component,
javax.swing.JTextPane message_label,
FileInputer inputer)
throws java.lang.Exception
- Throws:
java.lang.Exception
setFileInputer
public static void setFileInputer(javax.swing.JComponent component,
FileInputer inputer)
throws java.lang.Exception
- Throws:
java.lang.Exception