- Timestamp:
- 2009-01-12T13:04:29+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/gui/RenamePrompt.java
r12657 r18370 50 50 { 51 51 super(Gatherer.g_man, true); 52 this.setComponentOrientation(Dictionary.getOrientation()); 52 53 setTitle(Dictionary.get("RenamePrompt.Title")); 53 54 name = collection_tree_node.getFile().getName(); … … 87 88 setSize(SIZE); 88 89 JPanel content_pane = (JPanel) getContentPane(); 89 90 content_pane.setComponentOrientation(Dictionary.getOrientation()); 91 90 92 JPanel info_pane = new JPanel(); 91 93 info_pane.setComponentOrientation(Dictionary.getOrientation()); 94 92 95 JLabel name_label = new JLabel(Dictionary.get("RenamePrompt.Name")); 96 name_label.setComponentOrientation(Dictionary.getOrientation()); 93 97 name_textfield = new JTextField(name); 98 name_textfield.setComponentOrientation(Dictionary.getOrientation()); 94 99 95 100 JPanel button_pane = new JPanel(); 101 button_pane.setComponentOrientation(Dictionary.getOrientation()); 96 102 ok_button = new GLIButton(Dictionary.get("General.OK"), Dictionary.get("General.OK_Tooltip")); 97 103 cancel_button = new GLIButton(Dictionary.get("General.Cancel"), Dictionary.get("General.Pure_Cancel_Tooltip")); … … 105 111 // Layout 106 112 info_pane.setLayout(new BorderLayout(5,0)); 107 info_pane.add(name_label, BorderLayout. WEST);113 info_pane.add(name_label, BorderLayout.LINE_START); 108 114 info_pane.add(name_textfield, BorderLayout.CENTER); 109 115
Note:
See TracChangeset
for help on using the changeset viewer.