summaryrefslogtreecommitdiff
path: root/sources/simulator
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-25 09:48:22 +0000
committerPaul Buetow <paul@buetow.org>2008-05-25 09:48:22 +0000
commit5b6bf8d65ecd6b4b3cccc17314dd763255fb3856 (patch)
tree6372e6ffb8adc5767d8fd1f35a5f5d3130646ee5 /sources/simulator
parentdeed4e94f9502377459c1f99f679ea5dd96d9bfa (diff)
Added private static final long serialVersionUID = 1L;
Some docu update.
Diffstat (limited to 'sources/simulator')
-rw-r--r--sources/simulator/VSAbout.java1
-rw-r--r--sources/simulator/VSLogging.java1
-rw-r--r--sources/simulator/VSMain.java1
-rw-r--r--sources/simulator/VSMenuItemStates.java50
-rw-r--r--sources/simulator/VSSimulator.java1
-rw-r--r--sources/simulator/VSSimulatorFrame.java1
6 files changed, 31 insertions, 24 deletions
diff --git a/sources/simulator/VSAbout.java b/sources/simulator/VSAbout.java
index ddeaa4e..724761c 100644
--- a/sources/simulator/VSAbout.java
+++ b/sources/simulator/VSAbout.java
@@ -16,6 +16,7 @@ import utils.*;
* The Class VSAbout.
*/
public class VSAbout extends VSFrame implements ActionListener {
+ private static final long serialVersionUID = 1L;
/** The prefs. */
private VSPrefs prefs;
diff --git a/sources/simulator/VSLogging.java b/sources/simulator/VSLogging.java
index 49d0b59..b89751c 100644
--- a/sources/simulator/VSLogging.java
+++ b/sources/simulator/VSLogging.java
@@ -15,6 +15,7 @@ import utils.*;
* The Class VSLogging.
*/
public class VSLogging {
+ private static final long serialVersionUID = 1L;
/** The logging area. */
private JTextArea loggingArea;
diff --git a/sources/simulator/VSMain.java b/sources/simulator/VSMain.java
index 8c88a8f..f8a6df8 100644
--- a/sources/simulator/VSMain.java
+++ b/sources/simulator/VSMain.java
@@ -16,6 +16,7 @@ import prefs.editors.*;
* The Class VSMain.
*/
public class VSMain {
+ private static final long serialVersionUID = 1L;
/**
* Instantiates a new lang.process.removemain.
diff --git a/sources/simulator/VSMenuItemStates.java b/sources/simulator/VSMenuItemStates.java
index 42edf96..ba901de 100644
--- a/sources/simulator/VSMenuItemStates.java
+++ b/sources/simulator/VSMenuItemStates.java
@@ -9,25 +9,27 @@ package simulator;
* "simulation" bar of the VSSimulationFrame.
*/
public class VSMenuItemStates {
- /** The pause. */
+ private static final long serialVersionUID = 1L;
+
+ /** The pause state. */
private volatile boolean pause;
- /** The replay. */
+ /** The replay state. */
private volatile boolean replay;
- /** The reset. */
+ /** The reset state. */
private volatile boolean reset;
- /** The start. */
+ /** The start state. */
private volatile boolean start;
/**
* Instantiates a new lang.process.removemenu item states.
*
- * @param pause the pause
- * @param replay the replay
- * @param reset the reset
- * @param start the start
+ * @param pause the pause state
+ * @param replay the replay state
+ * @param reset the reset state
+ * @param start the start state
*/
public VSMenuItemStates(boolean pause, boolean replay, boolean reset, boolean start) {
this.pause = pause;
@@ -37,72 +39,72 @@ public class VSMenuItemStates {
}
/**
- * Sets the pause.
+ * Sets the pause state.
*
- * @param pause the new pause
+ * @param pause the new pause state
*/
public void setPause(boolean pause) {
this.pause = pause;
}
/**
- * Sets the replay.
+ * Sets the replay state.
*
- * @param replay the new replay
+ * @param replay the new replay state
*/
public void setReplay(boolean replay) {
this.replay = replay;
}
/**
- * Sets the reset.
+ * Sets the reset state.
*
- * @param reset the new reset
+ * @param reset the new reset state
*/
public void setReset(boolean reset) {
this.reset = reset;
}
/**
- * Sets the start.
+ * Sets the start state.
*
- * @param start the new start
+ * @param start the new start state
*/
public void setStart(boolean start) {
this.start = start;
}
/**
- * Gets the pause.
+ * Gets the pause state.
*
- * @return the pause
+ * @return the pause state
*/
public boolean getPause() {
return pause;
}
/**
- * Gets the replay.
+ * Gets the replay state.
*
- * @return the replay
+ * @return the replay state
*/
public boolean getReplay() {
return replay;
}
/**
- * Gets the reset.
+ * Gets the reset state.
*
- * @return the reset
+ * @return the reset state
*/
public boolean getReset() {
return reset;
}
/**
- * Gets the start.
+ * Gets the start state.
*
- * @return the start
+ * @return the start state
*/
public boolean getStart() {
return start;
diff --git a/sources/simulator/VSSimulator.java b/sources/simulator/VSSimulator.java
index 8e5ccac..2bb750a 100644
--- a/sources/simulator/VSSimulator.java
+++ b/sources/simulator/VSSimulator.java
@@ -22,6 +22,7 @@ import utils.*;
* The Class VSSimulator.
*/
public class VSSimulator extends JPanel {
+ private static final long serialVersionUID = 1L;
/** The global text fields. */
private ArrayList<String> globalTextFields;
diff --git a/sources/simulator/VSSimulatorFrame.java b/sources/simulator/VSSimulatorFrame.java
index 33d3074..bb1c27b 100644
--- a/sources/simulator/VSSimulatorFrame.java
+++ b/sources/simulator/VSSimulatorFrame.java
@@ -20,6 +20,7 @@ import utils.*;
* The Class VSSimulatorFrame.
*/
public class VSSimulatorFrame extends VSFrame implements ActionListener {
+ private static final long serialVersionUID = 1L;
/** The pause item. */
private JMenuItem pauseItem;