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/ReplicaGroupEditor.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/ReplicaGroupEditor.java')
-rw-r--r-- | java/src/IceGridGUI/Application/ReplicaGroupEditor.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/java/src/IceGridGUI/Application/ReplicaGroupEditor.java b/java/src/IceGridGUI/Application/ReplicaGroupEditor.java index b121d392d80..c63c3633f3b 100644 --- a/java/src/IceGridGUI/Application/ReplicaGroupEditor.java +++ b/java/src/IceGridGUI/Application/ReplicaGroupEditor.java @@ -31,6 +31,7 @@ import com.jgoodies.forms.layout.CellConstraints; import IceGrid.*; import IceGridGUI.*; +@SuppressWarnings("unchecked") class ReplicaGroupEditor extends Editor { protected boolean applyUpdate(boolean refresh) @@ -459,7 +460,7 @@ class ReplicaGroupEditor extends Editor private JTextArea _description = new JTextArea(3, 20); private JTextField _proxyOptions = new JTextField(20); - private JComboBox<String> _loadBalancing = new JComboBox<String>(new String[] {ADAPTIVE, + private JComboBox _loadBalancing = new JComboBox(new String[] {ADAPTIVE, ORDERED, RANDOM, ROUND_ROBIN}); @@ -467,7 +468,7 @@ class ReplicaGroupEditor extends Editor private JTextField _nReplicas = new JTextField(20); private JLabel _loadSampleLabel; - private JComboBox<String> _loadSample = new JComboBox<String>(new String[] {"1", "5", "15"}); + private JComboBox _loadSample = new JComboBox(new String[] {"1", "5", "15"}); private ArrayMapField _objects; private java.util.LinkedList<ObjectDescriptor> _objectList; |