- 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/CreateShortcutPrompt.java
r12119 r18370 53 53 { 54 54 super(Gatherer.g_man); 55 55 this.setComponentOrientation(Dictionary.getOrientation()); 56 56 setModal(true); 57 57 setSize(DIALOG_SIZE); … … 60 60 // Creation 61 61 JPanel content_pane = (JPanel) getContentPane(); 62 content_pane.setComponentOrientation(Dictionary.getOrientation()); 62 63 JPanel center_pane = new JPanel(); 64 center_pane.setComponentOrientation(Dictionary.getOrientation()); 63 65 JPanel labels_pane = new JPanel(); 66 labels_pane.setComponentOrientation(Dictionary.getOrientation()); 64 67 JPanel fields_pane = new JPanel(); 68 fields_pane.setComponentOrientation(Dictionary.getOrientation()); 65 69 66 70 JLabel file_label = new JLabel(Dictionary.get("MappingPrompt.File")); 67 JLabel file_field = new JLabel(file.getAbsolutePath()); 68 71 file_label.setComponentOrientation(Dictionary.getOrientation()); 72 JLabel file_field = new JLabel(file.getAbsolutePath()); 73 file_field.setComponentOrientation(Dictionary.getOrientation()); 74 69 75 JLabel name_label = new JLabel(Dictionary.get("MappingPrompt.Name")); 70 name_field = new JTextField(file.getName()); 71 76 name_label.setComponentOrientation(Dictionary.getOrientation()); 77 name_field = new JTextField(file.getName()); 78 name_field.setComponentOrientation(Dictionary.getOrientation()); 79 72 80 JPanel button_pane = new JPanel(); 81 button_pane.setComponentOrientation(Dictionary.getOrientation()); 73 82 ok_button = new GLIButton(Dictionary.get("General.OK"), Dictionary.get("General.OK_Tooltip")); 74 83 ok_button.setEnabled(name_field.getText().length() > 0); … … 91 100 center_pane.setBorder(BorderFactory.createEmptyBorder(0,0,5,0)); 92 101 center_pane.setLayout(new BorderLayout(5,0)); 93 center_pane.add(labels_pane, BorderLayout. WEST);102 center_pane.add(labels_pane, BorderLayout.LINE_START); 94 103 center_pane.add(fields_pane, BorderLayout.CENTER); 95 104
Note:
See TracChangeset
for help on using the changeset viewer.