From: amwaterhouse Date: Wed, 2 Feb 2005 16:14:01 +0000 (+0000) Subject: Remove test image X-Git-Tag: Release_2_0~703 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=79d25fa4e3ae375321d8cc29906cff5a507cbab4;p=jalview.git Remove test image --- diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index de6e057..775e954 100755 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -360,9 +360,6 @@ public class AlignmentPanel extends GAlignmentPanel implements AdjustmentListene if( seqPanel.seqCanvas.getWidth() < pwidth-idWidth) pwidth = seqPanel.seqCanvas.getWidth() + idWidth; - Image image = createImage(pwidth, pheight); - pg = image.getGraphics(); - pg.setColor(Color.white); pg.fillRect(0,0,pwidth, pheight); pg.setFont( av.getFont() ); @@ -404,13 +401,6 @@ public class AlignmentPanel extends GAlignmentPanel implements AdjustmentListene seqPanel.seqCanvas.drawWrappedPanel(pg, pwidth-idWidth, pheight, pi*noChunksOnPage*chunkWidth); - javax.swing.JFrame frame = new javax.swing.JFrame(); - frame.setSize(image.getWidth(null), image.getHeight(null)); - frame.setVisible(true); - frame.getContentPane().setLayout(new BorderLayout()); - VPanel pan = new VPanel(image); - frame.getContentPane().add(pan, BorderLayout.CENTER); - frame.validate(); return Printable.NO_SUCH_PAGE;//.PAGE_EXISTS; }