orc.gui
Class OrcApp
java.lang.Object
orc.gui.OrcGui
orc.gui.OrcApp
- All Implemented Interfaces:
- java.lang.Runnable
public class OrcApp
- extends OrcGui
A basic Mac OS X App interface for Orc.
Supports drag-and-drop, Preferences, and About.
Refer to http://developer.apple.com/documentation/Java/Conceptual/Java14Development/00-Intro/JavaDevelopment.html
- Author:
- quark
Nested Class Summary |
protected static class |
OrcApp.PreferencesDialog
Preferences dialog, used to set config properties that
would normally be set via the command line. |
Method Summary |
protected javax.swing.JFrame |
createFrame()
|
protected javax.swing.JMenuBar |
createMenuBar()
|
protected javax.swing.JScrollPane |
createScrollPane()
|
static void |
main(java.lang.String[] args)
Main method; starts Apple event listeners and not much else. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrcApp
public OrcApp(Config config)
createFrame
protected javax.swing.JFrame createFrame()
- Overrides:
createFrame
in class OrcGui
createScrollPane
protected javax.swing.JScrollPane createScrollPane()
- Overrides:
createScrollPane
in class OrcGui
createMenuBar
protected javax.swing.JMenuBar createMenuBar()
- Overrides:
createMenuBar
in class OrcGui
main
public static void main(java.lang.String[] args)
- Main method; starts Apple event listeners and not much else.
This doesn't expect to receive any command-line arguments.
- Parameters:
args
-