- 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/MetadataImportMappingPrompt.java
r12119 r18370 39 39 // Construction and configuration 40 40 JDialog dialog = new ModalDialog(Gatherer.g_man); 41 dialog.setComponentOrientation(Dictionary.getOrientation()); 41 42 dialog.setModal(true); 42 43 dialog.setSize(DIALOG_SIZE); … … 72 73 // Layout 73 74 JPanel left_pane = new JPanel(); 75 left_pane.setComponentOrientation(Dictionary.getOrientation()); 74 76 left_pane.setLayout(new GridLayout(3,1)); 75 left_pane.add(new JLabel(Dictionary.get("MIMP.Source_Element"))); 76 left_pane.add(new JLabel(Dictionary.get("MIMP.Target_Set"))); 77 left_pane.add(new JLabel(Dictionary.get("MIMP.Target_Element"))); 77 78 JLabel tmp_lable; 79 80 tmp_lable = new JLabel(Dictionary.get("MIMP.Source_Element")); 81 tmp_lable.setComponentOrientation(Dictionary.getOrientation()); 82 left_pane.add(tmp_lable); 83 84 tmp_lable = new JLabel(Dictionary.get("MIMP.Target_Set")); 85 tmp_lable.setComponentOrientation(Dictionary.getOrientation()); 86 left_pane.add(tmp_lable); 87 88 tmp_lable = new JLabel(Dictionary.get("MIMP.Target_Element")); 89 tmp_lable.setComponentOrientation(Dictionary.getOrientation()); 90 left_pane.add(tmp_lable); 78 91 79 92 JPanel right_pane = new JPanel(); 93 right_pane.setComponentOrientation(Dictionary.getOrientation()); 94 80 95 right_pane.setLayout(new GridLayout(3,1)); 81 right_pane.add(new JLabel(metadata_element_name_full)); 96 tmp_lable = new JLabel(metadata_element_name_full); 97 tmp_lable.setComponentOrientation(Dictionary.getOrientation()); 98 right_pane.add(tmp_lable); 82 99 right_pane.add(metadata_sets_combobox); 83 100 right_pane.add(metadata_elements_combobox); 84 101 85 102 JPanel button_pane = new JPanel(); 103 button_pane.setComponentOrientation(Dictionary.getOrientation()); 86 104 button_pane.setBorder(BorderFactory.createEmptyBorder(0,5,5,5)); 87 105 button_pane.setLayout(new GridLayout(1,3)); … … 91 109 92 110 JPanel content_pane = (JPanel) dialog.getContentPane(); 111 content_pane.setComponentOrientation(Dictionary.getOrientation()); 93 112 content_pane.setLayout(new BorderLayout()); 94 113 content_pane.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); 95 content_pane.add(left_pane, BorderLayout. WEST);114 content_pane.add(left_pane, BorderLayout.LINE_START); 96 115 content_pane.add(right_pane, BorderLayout.CENTER); 97 116 content_pane.add(button_pane, BorderLayout.SOUTH);
Note:
See TracChangeset
for help on using the changeset viewer.