Changeset 5673
- Timestamp:
- 2003-10-17T09:43:26+13:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/LockFileDialog.java
r5593 r5673 48 48 JLabel title_one_label = new JLabel(); 49 49 Dictionary.setText(title_one_label, "General.Warning"); 50 JLabel title_two_label = new JLabel(); 51 Dictionary.setText(title_two_label, "LockFileDialog.Lockfile_Message_One"); 50 JTextArea title_two_textarea = new JTextArea(); 51 title_two_textarea.setEditable(false); 52 title_two_textarea.setLineWrap(true); 53 title_two_textarea.setOpaque(false); 54 title_two_textarea.setRows(3); 55 title_two_textarea.setWrapStyleWord(true); 56 Dictionary.setText(title_two_textarea, "LockFileDialog.Lockfile_Message_One"); 52 57 JPanel central_pane = new JPanel(); 53 58 … … 99 104 icon_label.setBorder(BorderFactory.createEmptyBorder(0,0,0,10)); 100 105 101 title_pane.setLayout(new GridLayout(2,1,0,5));102 title_pane.add(title_one_label );103 title_pane.add(title_two_ label);106 title_pane.setLayout(new BorderLayout()); 107 title_pane.add(title_one_label, BorderLayout.NORTH); 108 title_pane.add(title_two_textarea, BorderLayout.CENTER); 104 109 105 110 upper_pane.setLayout(new BorderLayout());
Note:
See TracChangeset
for help on using the changeset viewer.