Changeset 2266 for trunk/java-client
- Timestamp:
- 2001-04-03T13:08:37+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient/ChangeLogDialog.java
r2264 r2266 83 83 JTextArea text = new JTextArea(log); 84 84 85 text.setCaretPosition(1); 86 85 87 JScrollPane scrollPane = 86 new JScrollPane(text, 87 88 88 new JScrollPane(text); 89 // JScrollPane.VERTICAL_SCROLLBAR_ALWAYS, 90 // JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS); 89 91 90 92 JPanel panel = new JPanel(); 93 panel.setLayout(new BorderLayout()); 91 94 scrollPane.setPreferredSize(new Dimension(700, 500)); 92 95 panel.add(scrollPane, BorderLayout.NORTH); … … 95 98 okButton.setPreferredSize(new Dimension(80,20)); 96 99 okButton.addActionListener(this); 97 panel.add( okButton, BorderLayout.SOUTH); 100 JPanel buttonPanel = new JPanel(); 101 buttonPanel.add(okButton); 102 103 panel.add( buttonPanel, BorderLayout.SOUTH); 98 104 99 105 getContentPane().add(panel);
Note:
See TracChangeset
for help on using the changeset viewer.