summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/Application/ParameterValuesField.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/IceGridGUI/Application/ParameterValuesField.java')
-rw-r--r--java/src/IceGridGUI/Application/ParameterValuesField.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/java/src/IceGridGUI/Application/ParameterValuesField.java b/java/src/IceGridGUI/Application/ParameterValuesField.java
index 9a661be086c..682e30ab2d2 100644
--- a/java/src/IceGridGUI/Application/ParameterValuesField.java
+++ b/java/src/IceGridGUI/Application/ParameterValuesField.java
@@ -31,7 +31,7 @@ import javax.swing.table.TableColumn;
//
// A special field used to show/edit parameter values
//
-
+@SuppressWarnings("unchecked")
public class ParameterValuesField extends JTable
{
public ParameterValuesField(Editor editor)
@@ -130,7 +130,7 @@ public class ParameterValuesField extends JTable
{
getCellEditor().stopCellEditing();
}
- @SuppressWarnings("unchecked")
+
java.util.Vector<java.util.Vector<String>> vector =
(java.util.Vector<java.util.Vector<String>>)_model.getDataVector();
@@ -172,9 +172,9 @@ public class ParameterValuesField extends JTable
private static final String _notSet = "Not set";
- private JComboBox<String> _useDefaultCombo = new JComboBox<String>(new String[]{_useDefault});
+ private JComboBox _useDefaultCombo = new JComboBox(new String[]{_useDefault});
- private JComboBox<String> _notSetCombo = new JComboBox<String>(new String[]{_notSet});
+ private JComboBox _notSetCombo = new JComboBox(new String[]{_notSet});
private TableCellEditor _useDefaultEditor = new DefaultCellEditor(_useDefaultCombo);
private TableCellEditor _notSetEditor = new DefaultCellEditor(_notSetCombo);