diff -r c7922247b6d2 netx/net/sourceforge/jnlp/controlpanel/SecuritySettingsPanel.java --- a/netx/net/sourceforge/jnlp/controlpanel/SecuritySettingsPanel.java Thu Dec 23 16:55:17 2010 -0500 +++ b/netx/net/sourceforge/jnlp/controlpanel/SecuritySettingsPanel.java Tue Jan 04 10:47:54 2011 -0500 @@ -114,16 +114,16 @@ // Only display the ones with properties that are valid or existent. for (int i = 0; i < properties.length; i++) { - try { - String s = config.getProperty(properties[i]); - securityGeneralOptions[i].setSelected(Boolean.parseBoolean(s)); - securityGeneralOptions[i].setActionCommand(properties[i]); - securityGeneralOptions[i].addActionListener(this); - c.gridy = i + 1; - topPanel.add(securityGeneralOptions[i], c); - } catch (Exception e) { + String s = config.getProperty(properties[i]); + if (s == null) { securityGeneralOptions[i] = null; + continue; } + securityGeneralOptions[i].setSelected(Boolean.parseBoolean(s)); + securityGeneralOptions[i].setActionCommand(properties[i]); + securityGeneralOptions[i].addActionListener(this); + c.gridy = i + 1; + topPanel.add(securityGeneralOptions[i], c); } Component filler = Box.createRigidArea(new Dimension(1, 1));