diff options
author | Jose <jose@zeroc.com> | 2013-07-04 22:21:31 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2013-07-04 22:21:31 +0200 |
commit | fc7fc8af52548043dca3b3ee9ddbccaf1477008c (patch) | |
tree | f6a45c482eb1bef1470b175aed53bba186c790a0 /java/src/IceGridGUI/Application/ParameterValuesField.java | |
parent | Fixed ICE-5346 - return empty map rather than no maps for metrics view if the... (diff) | |
download | ice-fc7fc8af52548043dca3b3ee9ddbccaf1477008c.tar.bz2 ice-fc7fc8af52548043dca3b3ee9ddbccaf1477008c.tar.xz ice-fc7fc8af52548043dca3b3ee9ddbccaf1477008c.zip |
Fixed ICE-5344 - IceGrid Admin without JavaFX?
Diffstat (limited to 'java/src/IceGridGUI/Application/ParameterValuesField.java')
-rw-r--r-- | java/src/IceGridGUI/Application/ParameterValuesField.java | 8 |
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); |