Remove test image
authoramwaterhouse <Andrew Waterhouse>
Wed, 2 Feb 2005 16:14:01 +0000 (16:14 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 2 Feb 2005 16:14:01 +0000 (16:14 +0000)
src/jalview/gui/AlignmentPanel.java

index de6e057..775e954 100755 (executable)
@@ -360,9 +360,6 @@ public class AlignmentPanel extends GAlignmentPanel implements AdjustmentListene
     if( seqPanel.seqCanvas.getWidth() < pwidth-idWidth)\r
       pwidth = seqPanel.seqCanvas.getWidth() + idWidth;\r
 \r
-    Image image = createImage(pwidth, pheight);\r
-    pg = image.getGraphics();\r
-\r
     pg.setColor(Color.white);\r
     pg.fillRect(0,0,pwidth, pheight);\r
     pg.setFont( av.getFont() );\r
@@ -404,13 +401,6 @@ public class AlignmentPanel extends GAlignmentPanel implements AdjustmentListene
     seqPanel.seqCanvas.drawWrappedPanel(pg, pwidth-idWidth, pheight, pi*noChunksOnPage*chunkWidth);\r
 \r
 \r
-    javax.swing.JFrame frame = new javax.swing.JFrame();\r
-    frame.setSize(image.getWidth(null), image.getHeight(null));\r
-     frame.setVisible(true);\r
-     frame.getContentPane().setLayout(new BorderLayout());\r
-   VPanel pan = new VPanel(image);\r
-   frame.getContentPane().add(pan, BorderLayout.CENTER);\r
-   frame.validate();\r
     return Printable.NO_SUCH_PAGE;//.PAGE_EXISTS;\r
 \r
   }\r