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
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