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/ParametersField.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/ParametersField.java')
-rw-r--r-- | java/src/IceGridGUI/Application/ParametersField.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/IceGridGUI/Application/ParametersField.java b/java/src/IceGridGUI/Application/ParametersField.java index f7cb48269b6..b6f6d6a3398 100644 --- a/java/src/IceGridGUI/Application/ParametersField.java +++ b/java/src/IceGridGUI/Application/ParametersField.java @@ -32,6 +32,7 @@ import javax.swing.table.TableColumn; // A special field used to show/edit parameters // +@SuppressWarnings("unchecked") public class ParametersField extends JTable { public ParametersField(Editor editor) @@ -42,7 +43,7 @@ public class ParametersField extends JTable _columnNames.add("Name"); _columnNames.add("Default value"); - JComboBox<String> comboBox = new JComboBox<String>(new String[]{_noDefault}); + JComboBox comboBox = new JComboBox(new String[]{_noDefault}); comboBox.setEditable(true); _cellEditor = new DefaultCellEditor(comboBox); |