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/security/viewer | |
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/security/viewer')
-rw-r--r-- | netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java b/netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java index 71b48aa..7564fb5 100644 --- a/netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java +++ b/netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java @@ -108,7 +108,7 @@ public class CertificatePane extends JPanel { JTabbedPane tabbedPane; private final JTable userTable; private final JTable systemTable; - private JComboBox<CertificateType> certificateTypeCombo; + private JComboBox certificateTypeCombo; private KeyStores.Type currentKeyStoreType; private KeyStores.Level currentKeyStoreLevel; @@ -165,7 +165,7 @@ public class CertificatePane extends JPanel { JLabel certificateTypeLabel = new JLabel(R("CVCertificateType")); - certificateTypeCombo = new JComboBox<CertificateType>(certificateTypes); + certificateTypeCombo = new JComboBox(certificateTypes); certificateTypeCombo.addActionListener(new CertificateTypeListener()); certificateTypePanel.add(certificateTypeLabel, BorderLayout.LINE_START); @@ -342,7 +342,7 @@ public class CertificatePane extends JPanel { @Override @SuppressWarnings("unchecked")//this is just certificateTypeCombo, nothing else public void actionPerformed(ActionEvent e) { - JComboBox<CertificateType> source = (JComboBox<CertificateType>) e.getSource(); + JComboBox source = (JComboBox) e.getSource(); CertificateType type = (CertificateType) source.getSelectedItem(); currentKeyStoreType = type.getType(); repopulateTables(); |