- int newHeight = seq.length * af.viewport.getCharHeight() + 200;\r
- if(newHeight>500)\r
- newHeight=500;\r
-\r
- Desktop.addInternalFrame(af, "Pairwise Aligned Sequences", 700,newHeight);\r
+ Desktop.addInternalFrame(af, "Pairwise Aligned Sequences",\r
+ AlignFrame.NEW_WINDOW_WIDTH,\r
+ AlignFrame.NEW_WINDOW_HEIGHT);\r