Skip to content

Commit

Permalink
Main.java: Remove JFrame construction from main().
Browse files Browse the repository at this point in the history
  • Loading branch information
kjw committed Jul 1, 2010
1 parent 45b40fc commit 7b88e7d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/org/crossref/pdf2xml/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,6 @@ public static void main(String[] filenames) {
System.err.println("Couldn't read file '" + inputFile +"'.");
System.exit(1);
}

JFrame frame = new JFrame();
PageCanvas pc = new PageCanvas(te.getPages());
JScrollPane scrollPane = new JScrollPane(pc);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.add(scrollPane);
frame.setSize(600, 800);
frame.setVisible(true);
}
}

Expand Down

0 comments on commit 7b88e7d

Please sign in to comment.