summaryrefslogtreecommitdiff
path: root/sources/simulator/VSMain.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-30 00:52:51 +0000
committerPaul Buetow <paul@buetow.org>2008-05-30 00:52:51 +0000
commitb82536ec35d01fd1195a11733203be7c1c008ad6 (patch)
tree55b69f0d6d2a1ba2dcedd57a2cac7d92ea784393 /sources/simulator/VSMain.java
parent19c666a62379a94e22acc96b9ed81660fcb1e53f (diff)
new package has been documented.
Diffstat (limited to 'sources/simulator/VSMain.java')
-rw-r--r--sources/simulator/VSMain.java24
1 files changed, 15 insertions, 9 deletions
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));
}
/**