- Timestamp:
- 2009-01-22T11:04:31+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/gems/DeleteMetadataSetPrompt.java
r12679 r18412 72 72 public DeleteMetadataSetPrompt(Frame parent,MetadataSetManager msm) { 73 73 super(parent, true); 74 75 74 self = this; 76 75 meta_manager = msm; … … 82 81 JPanel content_pane = (JPanel) getContentPane(); 83 82 content_pane.setOpaque(true); 84 83 content_pane.setComponentOrientation(Dictionary.getOrientation()); 85 84 86 85 JLabel available_metadata_sets_label = new JLabel(Dictionary.get("GEMS.DeleteMetadataSetPrompt.Available_Sets")); 87 86 available_metadata_sets_label.setOpaque(true); 87 available_metadata_sets_label.setComponentOrientation(Dictionary.getOrientation()); 88 88 89 89 list_model = new DefaultListModel(); … … 95 95 available_set_list.setFixedCellHeight(20); 96 96 available_set_list.addListSelectionListener(new MetadataSetListSelectionListener()); 97 97 available_set_list.setComponentOrientation(Dictionary.getOrientation()); 98 98 99 JPanel set_pane = new JPanel(); 100 set_pane.setComponentOrientation(Dictionary.getOrientation()); 99 101 set_pane.setLayout(new BorderLayout()); 100 102 set_pane.add(available_metadata_sets_label,BorderLayout.NORTH); … … 110 112 description_textarea.setLineWrap(true); 111 113 description_textarea.setWrapStyleWord(true); 112 114 description_textarea.setComponentOrientation(Dictionary.getOrientation()); 115 113 116 JPanel des_pane = new JPanel(); 117 des_pane.setComponentOrientation(Dictionary.getOrientation()); 114 118 des_pane.setLayout(new BorderLayout()); 115 119 des_pane.add(metadata_set_des_label,BorderLayout.NORTH); … … 117 121 118 122 JPanel button_pane = new JPanel(); 123 button_pane.setComponentOrientation(Dictionary.getOrientation()); 119 124 delete_button = new GLIButton(Dictionary.get("GEMS.DeleteMetadataSetPrompt.Delete"), Dictionary.get("GEMS.DeleteMetadataSetPrompt.Delete_Tooltip")); 120 125 delete_button.setEnabled(false); … … 124 129 confirmation.setEnabled(false); 125 130 confirmation.setSelected(false); 126 131 confirmation.setComponentOrientation(Dictionary.getOrientation()); 132 127 133 close_button = new GLIButton(Dictionary.get("General.Close"), Dictionary.get("General.Close_Tooltip")); 128 134 close_button.setEnabled(true); … … 151 157 152 158 JPanel bottom_pane = new JPanel(); 159 bottom_pane.setComponentOrientation(Dictionary.getOrientation()); 153 160 bottom_pane.setLayout(new BorderLayout()); 154 161 bottom_pane.add(confirmation,BorderLayout.NORTH); … … 212 219 public MetadatSetListCellRenderer() { 213 220 setOpaque(true); 221 this.setComponentOrientation(Dictionary.getOrientation()); 214 222 } 215 223
Note:
See TracChangeset
for help on using the changeset viewer.