- 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/GUIManager.java
r18199 r18370 117 117 public GUIManager(Dimension size) { 118 118 super(); 119 this.setComponentOrientation(Dictionary.getOrientation()); 119 120 // Initialization 120 121 this.help = new HelpFrame(); … … 329 330 public void display() { 330 331 content_pane = (JPanel) this.getContentPane(); 332 content_pane.setComponentOrientation(Dictionary.getOrientation()); 333 331 334 // Enable window-type events to be fired. 332 335 enableEvents(AWTEvent.WINDOW_EVENT_MASK); … … 358 361 // Create the menu-bar and stick it up the top. 359 362 menu_bar = new MenuBar(new MenuListenerImpl()); 363 menu_bar.setComponentOrientation(Dictionary.getOrientation()); 360 364 361 365 //feedback changes … … 367 371 // expand to consume all available space like any good gas would. 368 372 tab_pane = new JTabbedPane(); 373 tab_pane.setComponentOrientation(Dictionary.getOrientation()); 369 374 tab_pane.addChangeListener(this); 370 375 tab_pane.setFont(Configuration.getFont("general.font", false)); … … 377 382 } 378 383 379 gather_pane = new GatherPane(); 384 gather_pane = new GatherPane(); 380 385 gather_pane.display(); 381 386 if (Configuration.get("workflow.gather", true)) { … … 408 413 409 414 create_pane = new CreatePane(); 415 create_pane.setComponentOrientation(Dictionary.getOrientation()); 410 416 create_pane.display(); 411 417 if (Configuration.get("workflow.create", true)) { … … 416 422 417 423 format_pane = new FormatPane(); 424 format_pane.setComponentOrientation(Dictionary.getOrientation()); 418 425 format_pane.display(); 419 426 if (Configuration.get("workflow.format", true)) { … … 424 431 // The MetaAuditFrame must be created after the gather/enrich panes but before they get focus 425 432 meta_audit = new MetaAuditFrame(); 426 433 meta_audit.setComponentOrientation(Dictionary.getOrientation()); 427 434 // Select the collect pane if it is available 428 435 if (tab_pane.indexOfComponent(gather_pane) != -1) { … … 444 451 if (Gatherer.isGsdlRemote) { 445 452 JPanel remote_greenstone_server_progress_panel = new JPanel(); 453 //remote_greenstone_server_progress_panel.setComponentOrientation(Dictionary.getOrientation()); 446 454 JLabel remote_greenstone_server_progress_label = new JLabel(Dictionary.get("RemoteGreenstoneServer.Progress")); 455 //remote_greenstone_server_progress_label.setComponentOrientation(Dictionary.getOrientation()); 447 456 remote_greenstone_server_progress_panel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); 448 457 remote_greenstone_server_progress_panel.setLayout(new BorderLayout()); 449 remote_greenstone_server_progress_panel.add(remote_greenstone_server_progress_label, BorderLayout. WEST);458 remote_greenstone_server_progress_panel.add(remote_greenstone_server_progress_label, BorderLayout.LINE_START); 450 459 remote_greenstone_server_progress_panel.add(Gatherer.remoteGreenstoneServer.getProgressBar(), BorderLayout.CENTER); 451 460 content_pane.add(remote_greenstone_server_progress_panel, BorderLayout.SOUTH); … … 715 724 { 716 725 OpenCollectionDialog dialog = new OpenCollectionDialog(); 726 dialog.setComponentOrientation(Dictionary.getOrientation()); 717 727 if (dialog.display() == OpenCollectionDialog.OK_OPTION) { 718 728 return dialog.getFileName();
Note:
See TracChangeset
for help on using the changeset viewer.