frame = new JInternalFrame();\r
frame.setContentPane(this);\r
frame.setLayer(JLayeredPane.PALETTE_LAYER);\r
- Desktop.addInternalFrame(frame, "", 260, 125);\r
+ Desktop.addInternalFrame(frame, "", frame.getPreferredSize().width, frame.getPreferredSize().height);\r
}\r
\r
public void exportFeatures(AlignmentPanel ap)\r
\r
private void jbInit() throws Exception\r
{\r
- this.setLayout(flowLayout1);\r
+ this.setLayout(new BorderLayout());\r
+ \r
toFile.setText("to File");\r
toFile.addActionListener(new ActionListener()\r
{\r
buttonGroup.add(jalviewFormat);\r
buttonGroup.add(GFFFormat);\r
buttonGroup.add(CSVFormat);\r
- this.add(jPanel3, null);\r
- this.add(jPanel1, null);\r
+ this.add(jPanel3, BorderLayout.CENTER);\r
+ this.add(jPanel1, BorderLayout.SOUTH);\r
}\r
\r
JPanel jPanel1 = new JPanel();\r