- 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/ModalProgressPopup.java
r9340 r18370 31 31 import javax.swing.*; 32 32 import org.greenstone.gatherer.Configuration; 33 import org.greenstone.gatherer.Dictionary; 33 34 import org.greenstone.gatherer.Gatherer; 34 35 … … 47 48 super(Gatherer.g_man, title); 48 49 this.message = message; 50 this.setComponentOrientation(Dictionary.getOrientation()); 49 51 } 50 52 … … 66 68 // Create 67 69 JProgressBar progress_bar = new JProgressBar(); 70 progress_bar.setComponentOrientation(Dictionary.getOrientation()); 68 71 progress_bar.setIndeterminate(true); 69 72 70 73 // Layout 71 74 JPanel content_pane = (JPanel) getContentPane(); 75 content_pane.setComponentOrientation(Dictionary.getOrientation()); 72 76 content_pane.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); 73 77 content_pane.setLayout(new BorderLayout()); 74 content_pane.add(new JLabel(message), BorderLayout.NORTH); 78 79 JLabel tmp = new JLabel(message); 80 tmp.setComponentOrientation(Dictionary.getOrientation()); 81 82 content_pane.add(tmp, BorderLayout.NORTH); 75 83 content_pane.add(progress_bar, BorderLayout.CENTER); 76 84
Note:
See TracChangeset
for help on using the changeset viewer.