- 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/SimpleResultDialog.java
r17131 r18370 56 56 super(Gatherer.g_man, title, true); 57 57 this.self = this; 58 58 this.setComponentOrientation(Dictionary.getOrientation()); 59 59 60 setUpGUI(label, results); 60 61 } … … 74 75 75 76 JPanel content_pane = (JPanel) getContentPane(); 77 content_pane.setComponentOrientation(Dictionary.getOrientation()); 76 78 JLabel result_label = new JLabel(label); 79 result_label.setComponentOrientation(Dictionary.getOrientation()); 77 80 78 81 JPanel button_pane = new JPanel(); 82 button_pane.setComponentOrientation(Dictionary.getOrientation()); 79 83 JButton close_button = new GLIButton(Dictionary.get("General.Close")); 80 84 close_button.addActionListener(new CloseButtonListener()); 81 85 82 86 JPanel output_pane = new JPanel(); 87 output_pane.setComponentOrientation(Dictionary.getOrientation()); 83 88 JLabel output_label = new JLabel(Dictionary.get("General.Review_Output")); 84 89 output_label.setComponentOrientation(Dictionary.getOrientation()); 90 85 91 JTextArea output_textarea = new JTextArea(results); 92 output_textarea.setComponentOrientation(Dictionary.getOrientation()); 86 93 output_textarea.setCaretPosition(0); 87 94 output_textarea.setEditable(false); … … 90 97 91 98 button_pane.setLayout(new BorderLayout()); 92 button_pane.add(close_button, BorderLayout. EAST);99 button_pane.add(close_button, BorderLayout.LINE_END); 93 100 94 101 output_pane.setBorder(BorderFactory.createEmptyBorder(5,0,5,0));
Note:
See TracChangeset
for help on using the changeset viewer.