diff options
author | Jiri Vanek <[email protected]> | 2013-12-13 11:49:51 +0100 |
---|---|---|
committer | Jiri Vanek <[email protected]> | 2013-12-13 11:49:51 +0100 |
commit | 3c5836190bd9954c56c7d4180bfc2e7ed9a0d82d (patch) | |
tree | 6c9ea6ff03e22049b9a9d2ae607d46a214209034 /netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java | |
parent | 25f307d98cb0ba4698318c6a1a4e738ee81f6e55 (diff) |
Made again compatible with JDK6.All JLists, JComboBoxs, and DefaultComboBoxModels moved back to be not generics-like
in netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java, netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java, netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java, netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java, netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java, netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
Diffstat (limited to 'netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java b/netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java index 559b4d5..fc7eb8e 100644 --- a/netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java +++ b/netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java @@ -139,7 +139,7 @@ public class DebuggingPanel extends NamedBorderPanel implements ItemListener { new ComboItem(Translator.R("DPShowJavawsOnly"), DeploymentConfiguration.CONSOLE_SHOW_JAVAWS) }; JLabel consoleLabel = new JLabel(Translator.R("DPJavaConsole")); - JComboBox<ComboItem> consoleComboBox = new JComboBox<ComboItem>(); + JComboBox consoleComboBox = new JComboBox(); consoleComboBox.setActionCommand(DeploymentConfiguration.KEY_CONSOLE_STARTUP_MODE); // The property this comboBox affects. JPanel consolePanel = new JPanel(); @@ -210,7 +210,7 @@ public class DebuggingPanel extends NamedBorderPanel implements ItemListener { JCheckBox jcb = (JCheckBox) o; config.setProperty(jcb.getActionCommand(), String.valueOf(jcb.isSelected())); } else if (o instanceof JComboBox) { - JComboBox<ComboItem> jcb = (JComboBox) o; + JComboBox jcb = (JComboBox) o; ComboItem c = (ComboItem) e.getItem(); config.setProperty(jcb.getActionCommand(), c.getValue()); } |