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/AdapterEditor.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/AdapterEditor.java')
-rw-r--r-- | java/src/IceGridGUI/Application/AdapterEditor.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/java/src/IceGridGUI/Application/AdapterEditor.java b/java/src/IceGridGUI/Application/AdapterEditor.java index e70590ab0c4..13f3872c334 100644 --- a/java/src/IceGridGUI/Application/AdapterEditor.java +++ b/java/src/IceGridGUI/Application/AdapterEditor.java @@ -33,6 +33,7 @@ import com.jgoodies.forms.layout.CellConstraints; import IceGrid.*; import IceGridGUI.*; +@SuppressWarnings("unchecked") class AdapterEditor extends CommunicatorChildEditor { AdapterEditor() @@ -356,7 +357,7 @@ class AdapterEditor extends CommunicatorChildEditor private void refreshId() { Object id = _id.getSelectedItem(); - _id.setModel(new DefaultComboBoxModel<Object>(new Object[]{DEFAULT_ADAPTER_ID})); + _id.setModel(new DefaultComboBoxModel(new Object[]{DEFAULT_ADAPTER_ID})); _id.setSelectedItem(id); } @@ -620,14 +621,14 @@ class AdapterEditor extends CommunicatorChildEditor private JTextField _name = new JTextField(20); private JTextArea _description = new JTextArea(3, 20); - private JComboBox<Object> _id = new JComboBox<Object>(new Object[] {DEFAULT_ADAPTER_ID}); - private JComboBox<Object> _replicaGroupId = new JComboBox<Object>(); + private JComboBox _id = new JComboBox(new Object[] {DEFAULT_ADAPTER_ID}); + private JComboBox _replicaGroupId = new JComboBox(); private JButton _replicaGroupButton; private JTextField _priority = new JTextField(20); private JTextField _endpoints = new JTextField(20); - private JComboBox<Object> _publishedEndpoints = new JComboBox<Object>(new Object[]{PUBLISH_ACTUAL}); + private JComboBox _publishedEndpoints = new JComboBox(new Object[]{PUBLISH_ACTUAL}); private JTextField _proxyOptions = new JTextField(20); private JTextField _currentStatus = new JTextField(20); |