- 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/EditorDialog.java
r12119 r18370 67 67 public EditorDialog() { 68 68 super(Gatherer.g_man); 69 this.setComponentOrientation(Dictionary.getOrientation()); 69 70 } 70 71 … … 94 95 // Create 95 96 text = new JTextArea(value); 97 text.setComponentOrientation(Dictionary.getOrientation()); 96 98 text.setCaretPosition(value.length()); 97 99 text.setEditable(editable); … … 115 117 // Layout 116 118 JPanel button_pane = new JPanel(); 119 button_pane.setComponentOrientation(Dictionary.getOrientation()); 117 120 button_pane.setLayout(new GridLayout(1,2)); 118 121 if(editable) { … … 126 129 127 130 JPanel content_pane = (JPanel) getContentPane(); 131 content_pane.setComponentOrientation(Dictionary.getOrientation()); 128 132 content_pane.setLayout(new BorderLayout()); 129 content_pane.add(new JScrollPane(text), BorderLayout.CENTER); 133 JScrollPane scrol_tmp; 134 scrol_tmp = new JScrollPane(text); 135 scrol_tmp.setComponentOrientation(Dictionary.getOrientation()); 136 content_pane.add(scrol_tmp, BorderLayout.CENTER); 130 137 content_pane.add(button_pane, BorderLayout.SOUTH); 131 138
Note:
See TracChangeset
for help on using the changeset viewer.