public class GCutAndPasteTransfer extends Panel\r
{\r
protected TextArea textarea = new TextArea();\r
- protected ScrollPane scrollPane = new ScrollPane();\r
Button ok = new Button();\r
Button cancel = new Button();\r
protected Panel buttonPanel = new Panel();\r
cancel_actionPerformed(e);\r
}\r
});\r
- scrollPane.setVisible(true);\r
- this.add(scrollPane, BorderLayout.CENTER);\r
this.add(buttonPanel, BorderLayout.SOUTH);\r
buttonPanel.add(ok, null);\r
buttonPanel.add(cancel, null);\r
- scrollPane.add(textarea, null);\r
-\r
+ this.add(textarea, java.awt.BorderLayout.CENTER);\r
}\r
\r
\r