diff options
author | Andrew Azores <[email protected]> | 2013-07-25 15:42:41 -0400 |
---|---|---|
committer | Andrew Azores <[email protected]> | 2013-07-25 15:42:41 -0400 |
commit | d6640132c7d1cc6fe2849e26a8d3260d468d726f (patch) | |
tree | 7e78a5f8fc9c075cd2031bf92d4544e6d0746486 /netx/net/sourceforge/jnlp/controlpanel/AboutPanel.java | |
parent | c3bd36b237a7e2fa69c2dc919d87f2b11bd3c332 (diff) |
Cleaned up "throws IOException" from HTMLPanel constructor and try/catches elsewhere which handled this
Diffstat (limited to 'netx/net/sourceforge/jnlp/controlpanel/AboutPanel.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/controlpanel/AboutPanel.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/netx/net/sourceforge/jnlp/controlpanel/AboutPanel.java b/netx/net/sourceforge/jnlp/controlpanel/AboutPanel.java index c881543..70a43f2 100644 --- a/netx/net/sourceforge/jnlp/controlpanel/AboutPanel.java +++ b/netx/net/sourceforge/jnlp/controlpanel/AboutPanel.java @@ -24,13 +24,12 @@ import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; -import java.io.IOException; import javax.swing.Box; import javax.swing.JButton; import javax.swing.JLabel; -import net.sourceforge.jnlp.about.AboutDialog; +import net.sourceforge.jnlp.about.AboutDialog; import net.sourceforge.jnlp.runtime.Translator; /** @@ -52,11 +51,7 @@ public class AboutPanel extends NamedBorderPanel { aboutButton.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { - try { - AboutDialog.display(); - } catch (IOException ex) { - throw new RuntimeException(ex); - } + AboutDialog.display(); } }); c.fill = GridBagConstraints.BOTH; |