diff options
Diffstat (limited to 'sources/simulator/VSMain.java')
| -rw-r--r-- | sources/simulator/VSMain.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sources/simulator/VSMain.java b/sources/simulator/VSMain.java index bdfd631..79a0a7e 100644 --- a/sources/simulator/VSMain.java +++ b/sources/simulator/VSMain.java @@ -1,3 +1,7 @@ +/* + * VS is (c) 2008 by Paul C. Buetow + * vs@dev.buetow.org + */ package simulator; import java.awt.*; @@ -7,20 +11,47 @@ import events.*; import prefs.*; import prefs.editors.*; +// TODO: Auto-generated Javadoc +/** + * The Class VSMain. + */ public class VSMain { + + /** + * Instantiates a new vS main. + * + * @param prefs the prefs + */ public VSMain(VSPrefs prefs) { init(prefs, null); } + /** + * Instantiates a new vS main. + * + * @param prefs the prefs + * @param relativeTo the relative to + */ public VSMain(VSPrefs prefs, Component relativeTo) { init(prefs, relativeTo); } + /** + * Inits the. + * + * @param prefs the prefs + * @param relativeTo the relative to + */ private void init(VSPrefs prefs, Component relativeTo) { VSSimulatorFrame simulatorFrame = new VSSimulatorFrame(prefs, relativeTo); new VSEditorFrame(prefs, relativeTo, new VSSimulatorEditor(prefs, simulatorFrame)); } + /** + * The main method. + * + * @param args the arguments + */ public static void main(String[] args) { try { UIManager.setLookAndFeel( |
