From b82536ec35d01fd1195a11733203be7c1c008ad6 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 30 May 2008 00:52:51 +0000 Subject: new package has been documented. --- sources/simulator/VSMain.java | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'sources/simulator/VSMain.java') diff --git a/sources/simulator/VSMain.java b/sources/simulator/VSMain.java index f8a6df8..b8aa84a 100644 --- a/sources/simulator/VSMain.java +++ b/sources/simulator/VSMain.java @@ -11,15 +11,18 @@ import events.*; import prefs.*; import prefs.editors.*; -// TODO: Auto-generated Javadoc /** - * The Class VSMain. + * The Class VSMain. This class contains the static main method. The simulator + * starts here! + * + * @author Paul C. Buetow */ public class VSMain { + /** The serial version uid */ private static final long serialVersionUID = 1L; /** - * Instantiates a new lang.process.removemain. + * Instantiates a new VSMain object. * * @param prefs the prefs */ @@ -28,24 +31,27 @@ public class VSMain { } /** - * Instantiates a new lang.process.removemain. + * Instantiates a new VSMain object * * @param prefs the prefs - * @param relativeTo the relative to + * @param relativeTo the component to open the window relative to */ public VSMain(VSPrefs prefs, Component relativeTo) { init(prefs, relativeTo); } /** - * Inits the. + * Inits the VSMain object. * * @param prefs the prefs - * @param relativeTo the relative to + * @param relativeTo the component to open the window relative to */ private void init(VSPrefs prefs, Component relativeTo) { - VSSimulatorFrame simulatorFrame = new VSSimulatorFrame(prefs, relativeTo); - new VSEditorFrame(prefs, relativeTo, new VSSimulatorEditor(prefs, simulatorFrame)); + VSSimulatorFrame simulatorFrame = + new VSSimulatorFrame(prefs, relativeTo); + + new VSEditorFrame(prefs, relativeTo, + new VSSimulatorEditor(prefs, simulatorFrame)); } /** -- cgit v1.2.3