[jsword-svn] r1195 - trunk/jsword-sword/src/test/java/org/crosswire/modedit
dmsmith at www.crosswire.org
dmsmith at www.crosswire.org
Sat Dec 2 15:44:01 MST 2006
Author: dmsmith
Date: 2006-12-02 15:44:00 -0700 (Sat, 02 Dec 2006)
New Revision: 1195
Modified:
trunk/jsword-sword/src/test/java/org/crosswire/modedit/MainFrame.java
Log:
clean up of warnings from checkstyle, findbugs and pmd
Modified: trunk/jsword-sword/src/test/java/org/crosswire/modedit/MainFrame.java
===================================================================
--- trunk/jsword-sword/src/test/java/org/crosswire/modedit/MainFrame.java 2006-12-02 22:42:07 UTC (rev 1194)
+++ trunk/jsword-sword/src/test/java/org/crosswire/modedit/MainFrame.java 2006-12-02 22:44:00 UTC (rev 1195)
@@ -78,15 +78,10 @@
/**Construct the frame*/
public MainFrame() {
enableEvents(AWTEvent.WINDOW_EVENT_MASK);
- try {
- jbInit();
- }
- catch(Exception e) {
- e.printStackTrace(System.err);
- }
+ jbInit();
}
/**Component initialization*/
- private void jbInit() throws Exception {
+ private void jbInit() {
//setIconImage(Toolkit.getDefaultToolkit().createImage(Frame1.class.getResource("[Your Icon]")));
contentPane = (JPanel) this.getContentPane();
contentPane.setLayout(borderLayout1);
More information about the jsword-svn
mailing list