diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/btr/proxy/test/ProxyTester.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/btr/proxy/test/ProxyTester.java b/src/main/java/com/btr/proxy/test/ProxyTester.java index c01c7bb..a497f86 100644 --- a/src/main/java/com/btr/proxy/test/ProxyTester.java +++ b/src/main/java/com/btr/proxy/test/ProxyTester.java @@ -35,7 +35,7 @@ public class ProxyTester extends JFrame { private static final long serialVersionUID = 1L; - private JComboBox modes; + private JComboBox<ProxySearch.Strategy> modes; private JButton testButton; private JTextField urlField; @@ -62,7 +62,7 @@ public class ProxyTester extends JFrame { p.add(new JLabel("Mode:")); - this.modes = new JComboBox(ProxySearch.Strategy.values()); + this.modes = new JComboBox<ProxySearch.Strategy>(ProxySearch.Strategy.values()); p.add(this.modes); p.add(new JLabel("URL:")); |