- 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/GUIManager.java
r13944 r18297 116 116 public GUIManager(Dimension size) { 117 117 super(); 118 this.setComponentOrientation(Dictionary.getOrientation()); 118 119 // Initialization 119 120 this.help = new HelpFrame(); … … 323 324 public void display() { 324 325 content_pane = (JPanel) this.getContentPane(); 326 content_pane.setComponentOrientation(Dictionary.getOrientation()); 327 325 328 // Enable window-type events to be fired. 326 329 enableEvents(AWTEvent.WINDOW_EVENT_MASK); … … 348 351 // Create the menu-bar and stick it up the top. 349 352 menu_bar = new MenuBar(new MenuListenerImpl()); 353 menu_bar.setComponentOrientation(Dictionary.getOrientation()); 350 354 351 355 //feedback changes … … 357 361 // expand to consume all available space like any good gas would. 358 362 tab_pane = new JTabbedPane(); 363 tab_pane.setComponentOrientation(Dictionary.getOrientation()); 359 364 tab_pane.addChangeListener(this); 360 365 tab_pane.setFont(Configuration.getFont("general.font", false)); … … 367 372 } 368 373 369 gather_pane = new GatherPane(); 374 gather_pane = new GatherPane(); 370 375 gather_pane.display(); 371 376 if (Configuration.get("workflow.gather", true)) { … … 392 397 393 398 create_pane = new CreatePane(); 399 create_pane.setComponentOrientation(Dictionary.getOrientation()); 394 400 create_pane.display(); 395 401 if (Configuration.get("workflow.create", true)) { … … 400 406 401 407 format_pane = new FormatPane(); 408 format_pane.setComponentOrientation(Dictionary.getOrientation()); 402 409 format_pane.display(); 403 410 if (Configuration.get("workflow.format", true)) { … … 408 415 // The MetaAuditFrame must be created after the gather/enrich panes but before they get focus 409 416 meta_audit = new MetaAuditFrame(); 410 417 meta_audit.setComponentOrientation(Dictionary.getOrientation()); 411 418 // Select the collect pane if it is available 412 419 if (tab_pane.indexOfComponent(gather_pane) != -1) { … … 428 435 if (Gatherer.isGsdlRemote) { 429 436 JPanel remote_greenstone_server_progress_panel = new JPanel(); 437 //remote_greenstone_server_progress_panel.setComponentOrientation(Dictionary.getOrientation()); 430 438 JLabel remote_greenstone_server_progress_label = new JLabel(Dictionary.get("RemoteGreenstoneServer.Progress")); 439 //remote_greenstone_server_progress_label.setComponentOrientation(Dictionary.getOrientation()); 431 440 remote_greenstone_server_progress_panel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); 432 441 remote_greenstone_server_progress_panel.setLayout(new BorderLayout()); 433 remote_greenstone_server_progress_panel.add(remote_greenstone_server_progress_label, BorderLayout. WEST);442 remote_greenstone_server_progress_panel.add(remote_greenstone_server_progress_label, BorderLayout.LINE_START); 434 443 remote_greenstone_server_progress_panel.add(RemoteGreenstoneServer.getProgressBar(), BorderLayout.CENTER); 435 444 content_pane.add(remote_greenstone_server_progress_panel, BorderLayout.SOUTH); … … 694 703 { 695 704 OpenCollectionDialog dialog = new OpenCollectionDialog(); 705 dialog.setComponentOrientation(Dictionary.getOrientation()); 696 706 if (dialog.display() == OpenCollectionDialog.OK_OPTION) { 697 707 return dialog.getFileName();
Note:
See TracChangeset
for help on using the changeset viewer.