summaryrefslogtreecommitdiff
path: root/sources/prefs
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-25 09:03:10 +0000
committerPaul Buetow <paul@buetow.org>2008-05-25 09:03:10 +0000
commitbb1dbccae485263ea5182546006339870c57b367 (patch)
tree23cfaf1175721d5744bd4f7eaa25b78c71c39c60 /sources/prefs
parenta10580c984fe08374d4c591102115966e5ed31d1 (diff)
comments.
Diffstat (limited to 'sources/prefs')
-rw-r--r--sources/prefs/VSDefaultPrefs.java3
-rw-r--r--sources/prefs/VSPrefs.java6
-rw-r--r--sources/prefs/editors/VSColorChooser.java3
-rw-r--r--sources/prefs/editors/VSEditorTable.java9
4 files changed, 14 insertions, 7 deletions
diff --git a/sources/prefs/VSDefaultPrefs.java b/sources/prefs/VSDefaultPrefs.java
index 5363967..d7d3f81 100644
--- a/sources/prefs/VSDefaultPrefs.java
+++ b/sources/prefs/VSDefaultPrefs.java
@@ -12,7 +12,8 @@ import java.awt.event.KeyEvent;
* The Class VSDefaultPrefs.
*/
public class VSDefaultPrefs extends VSPrefs {
-
+ private static final long serialVersionUID = 1L;
+
/**
* Inits the.
*
diff --git a/sources/prefs/VSPrefs.java b/sources/prefs/VSPrefs.java
index 65dfcde..611e0fa 100644
--- a/sources/prefs/VSPrefs.java
+++ b/sources/prefs/VSPrefs.java
@@ -78,13 +78,14 @@ public abstract class VSPrefs implements Serializable {
* The Class SettingRestriction.
*/
public class SettingRestriction implements Serializable {
+ private static final long serialVersionUID = 1L;
}
/**
* The Class IntegerSettingRestriction.
*/
public class IntegerSettingRestriction extends SettingRestriction {
-
+ private static final long serialVersionUID = 1L;
/** The min value. */
private int minValue;
@@ -125,7 +126,8 @@ public abstract class VSPrefs implements Serializable {
* The Class StringSettingRestriction.
*/
public class StringSettingRestriction extends SettingRestriction {
-
+ private static final long serialVersionUID = 1L;
+
/** The possible selections. */
Vector<String> possibleSelections;
diff --git a/sources/prefs/editors/VSColorChooser.java b/sources/prefs/editors/VSColorChooser.java
index ea132fc..245e599 100644
--- a/sources/prefs/editors/VSColorChooser.java
+++ b/sources/prefs/editors/VSColorChooser.java
@@ -15,7 +15,8 @@ import prefs.VSPrefs;
* The Class VSColorChooser.
*/
public class VSColorChooser extends JPanel implements ChangeListener {
-
+ private static final long serialVersionUID = 1L;
+
/** The color chooser. */
protected JColorChooser colorChooser;
diff --git a/sources/prefs/editors/VSEditorTable.java b/sources/prefs/editors/VSEditorTable.java
index b641f33..88d7886 100644
--- a/sources/prefs/editors/VSEditorTable.java
+++ b/sources/prefs/editors/VSEditorTable.java
@@ -18,7 +18,8 @@ import prefs.*;
* The Class VSEditorTable.
*/
public class VSEditorTable extends JTable {
-
+ private static final long serialVersionUID = 1L;
+
/** The Constant MIN_ROWS. */
private static final int MIN_ROWS = 20;
@@ -103,7 +104,8 @@ public class VSEditorTable extends JTable {
* The Class VSEditorTableModel.
*/
private class VSEditorTableModel extends AbstractTableModel implements TableCellRenderer {
-
+ private static final long serialVersionUID = 1L;
+
/**
* Instantiates a new vS editor table model.
*/
@@ -205,7 +207,8 @@ public class VSEditorTable extends JTable {
* The Class VSTableCellEditor.
*/
private class VSTableCellEditor extends AbstractCellEditor implements TableCellEditor {
-
+ private static final long serialVersionUID = 1L;
+
/* (non-Javadoc)
* @see javax.swing.table.TableCellEditor#getTableCellEditorComponent(javax.swing.JTable, java.lang.Object, boolean, int, int)
*/