- 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/OptionsPane.java
r16133 r18370 102 102 this.current_controls = new ArrayList(); 103 103 this.writing_documents = new Vector(); 104 104 this.setComponentOrientation(Dictionary.getOrientation()); 105 105 106 // Have to do this here, not in display, as the message log view may not have been displayed yet. 106 107 log_textarea = new JTextArea(); 108 log_textarea.setComponentOrientation(Dictionary.getOrientation()); 107 109 log_textarea.setEditable(false); 108 110 } … … 152 154 if(pane == null || current_mode >= Configuration.EXPERT_MODE) { 153 155 pane = new JPanel(); 156 pane.setComponentOrientation(Dictionary.getOrientation()); 154 157 pane.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); 155 158 pane.setBackground(Configuration.getColor("coloring.collection_tree_background", false)); … … 275 278 if(pane == null || current_mode >= Configuration.EXPERT_MODE) { 276 279 pane = new JPanel(); 280 pane.setComponentOrientation(Dictionary.getOrientation()); 277 281 pane.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); 278 282 pane.setBackground(Configuration.getColor("coloring.collection_tree_background", false)); … … 308 312 if (log_pane == null) { 309 313 log_pane = new JPanel(new BorderLayout()); 310 314 log_pane.setComponentOrientation(Dictionary.getOrientation()); 311 315 // Build a list of the log files available, ordering by last modified. Log files are like build_log.date.txt 312 316 DefaultListModel contents = new DefaultListModel(); … … 337 341 338 342 log_list = new JList(contents); 343 log_list.setComponentOrientation(Dictionary.getOrientation()); 339 344 log_list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); 340 345 log_list.setLayoutOrientation(JList.VERTICAL); … … 344 349 345 350 JLabel log_history_label = new JLabel(Dictionary.get("OptionsPane.LogHistory")); 346 JPanel log_history_pane = new JPanel(); 351 log_history_label.setComponentOrientation(Dictionary.getOrientation()); 352 JPanel log_history_pane = new JPanel(); 353 log_history_pane.setComponentOrientation(Dictionary.getOrientation()); 347 354 log_history_pane.setPreferredSize(new Dimension(600, 100)); 348 355 log_history_pane.setLayout(new BorderLayout()); 349 356 log_history_pane.add(log_history_label, BorderLayout.NORTH); 350 log_history_pane.add(new JScrollPane(log_list), BorderLayout.CENTER); 357 JScrollPane scrol_tmp=new JScrollPane(log_list); 358 scrol_tmp.setComponentOrientation(Dictionary.getOrientation()); 359 log_history_pane.add(scrol_tmp, BorderLayout.CENTER); 351 360 352 log_pane.add(new JScrollPane(log_textarea), BorderLayout.CENTER); 361 scrol_tmp=new JScrollPane(log_textarea); 362 scrol_tmp.setComponentOrientation(Dictionary.getOrientation()); 363 log_pane.add(scrol_tmp, BorderLayout.CENTER); 353 364 log_pane.add(log_history_pane, BorderLayout.SOUTH); 354 365 }
Note:
See TracChangeset
for help on using the changeset viewer.