Changeset 15505 for gli/trunk/src
- Timestamp:
- 2008-05-15T16:30:15+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/gui/FedoraLogin.java
r15374 r15505 69 69 public class FedoraLogin extends JDialog 70 70 { 71 71 private static final java.awt.Color LIGHT = new java.awt.Color(244, 244, 224); 72 private static final java.awt.Color TRANSPARENT = new java.awt.Color(0,0,0,0); 72 73 private JPanel m_infoPane; 73 74 private JComboBox m_serverComboBox; … … 166 167 contentPane.setLayout(new BorderLayout()); 167 168 m_infoPane = new JPanel(); 169 m_infoPane.setBackground(TRANSPARENT); 168 170 contentPane.add(m_infoPane, BorderLayout.NORTH); 169 171 contentPane.add(inputPane, BorderLayout.CENTER); … … 323 325 } 324 326 327 /** Displays the given errormessage (which is split over several lines) 328 * in the FedoraLogin itself 329 * @param errorLines: the lines of the error message, where each line 330 * will be presented in its own JLabel in the infoPane. 331 */ 325 332 public void setErrorMessage(String[] errorLines) { 326 333 m_infoPane.removeAll(); 334 m_infoPane.setBackground(LIGHT); 327 335 // n rows and 1 column 328 336 m_infoPane.setLayout(new java.awt.GridLayout(errorLines.length, 1)); … … 370 378 371 379 } 372 373 380 374 381
Note:
See TracChangeset
for help on using the changeset viewer.