- Timestamp:
- 2008-12-26T14:35:15+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/branches/rtl-gli/src/org/greenstone/gatherer/gui/OptionsPane.java
r14240 r18297 98 98 this.current_controls = new ArrayList(); 99 99 this.writing_documents = new Vector(); 100 100 this.setComponentOrientation(Dictionary.getOrientation()); 101 101 102 // Have to do this here, not in display, as the message log view may not have been displayed yet. 102 103 log_textarea = new JTextArea(); 104 log_textarea.setComponentOrientation(Dictionary.getOrientation()); 103 105 log_textarea.setEditable(false); 104 106 } … … 148 150 if(pane == null || current_mode >= Configuration.EXPERT_MODE) { 149 151 pane = new JPanel(); 152 pane.setComponentOrientation(Dictionary.getOrientation()); 150 153 pane.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); 151 154 pane.setBackground(Configuration.getColor("coloring.collection_tree_background", false)); … … 211 214 if(pane == null || current_mode >= Configuration.EXPERT_MODE) { 212 215 pane = new JPanel(); 216 pane.setComponentOrientation(Dictionary.getOrientation()); 213 217 pane.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); 214 218 pane.setBackground(Configuration.getColor("coloring.collection_tree_background", false)); … … 244 248 if (log_pane == null) { 245 249 log_pane = new JPanel(new BorderLayout()); 246 250 log_pane.setComponentOrientation(Dictionary.getOrientation()); 247 251 // Build a list of the log files available, ordering by last modified. Log files are like build_log.date.txt 248 252 DefaultListModel contents = new DefaultListModel(); … … 273 277 274 278 log_list = new JList(contents); 279 log_list.setComponentOrientation(Dictionary.getOrientation()); 275 280 log_list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); 276 281 log_list.setLayoutOrientation(JList.VERTICAL); … … 280 285 281 286 JLabel log_history_label = new JLabel(Dictionary.get("OptionsPane.LogHistory")); 282 JPanel log_history_pane = new JPanel(); 287 log_history_label.setComponentOrientation(Dictionary.getOrientation()); 288 JPanel log_history_pane = new JPanel(); 289 log_history_pane.setComponentOrientation(Dictionary.getOrientation()); 283 290 log_history_pane.setPreferredSize(new Dimension(600, 100)); 284 291 log_history_pane.setLayout(new BorderLayout()); 285 292 log_history_pane.add(log_history_label, BorderLayout.NORTH); 286 log_history_pane.add(new JScrollPane(log_list), BorderLayout.CENTER); 293 JScrollPane scrol_tmp=new JScrollPane(log_list); 294 scrol_tmp.setComponentOrientation(Dictionary.getOrientation()); 295 log_history_pane.add(scrol_tmp, BorderLayout.CENTER); 287 296 288 log_pane.add(new JScrollPane(log_textarea), BorderLayout.CENTER); 297 scrol_tmp=new JScrollPane(log_textarea); 298 scrol_tmp.setComponentOrientation(Dictionary.getOrientation()); 299 log_pane.add(scrol_tmp, BorderLayout.CENTER); 289 300 log_pane.add(log_history_pane, BorderLayout.SOUTH); 290 301 }
Note:
See TracChangeset
for help on using the changeset viewer.