removed empty lines

master
melvin 2011-07-28 13:54:42 +08:00
parent 476ee2b838
commit 4066ec4d4c
1 changed files with 1 additions and 3 deletions

View File

@ -27,7 +27,6 @@ public class ViewerScrollPane extends JScrollPane {
}
public synchronized JPanel getContent() {
if (contentPanel==null) {
contentPanel=new JPanel();
contentPanel.setBorder(FontsAndBorders.BLACK_BORDER_2);
@ -38,7 +37,6 @@ public class ViewerScrollPane extends JScrollPane {
}
public synchronized void switchContent() {
if (contentPanel!=null) {
final Rectangle rect=getViewport().getViewRect();
final JPanel mainPanel=new JPanel(new BorderLayout());
@ -49,4 +47,4 @@ public class ViewerScrollPane extends JScrollPane {
contentPanel=null;
}
}
}
}