- Timestamp:
- 2009-01-22T11:04:31+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/gui/FedoraLogin.java
r16369 r18412 62 62 import java.awt.Rectangle; 63 63 import java.awt.Toolkit; 64 import org.greenstone.gatherer.Dictionary; 64 65 65 66 … … 91 92 { 92 93 super(Gatherer.g_man, "Login", true); 94 this.setComponentOrientation(Dictionary.getOrientation()); 93 95 this.setDefaultCloseOperation(DISPOSE_ON_CLOSE); 94 96 95 JLabel serverLabel=new JLabel("Fedora Server"); 97 JLabel serverLabel=new JLabel("Fedora Server"); 96 98 JLabel protocolLabel=new JLabel("Protocol"); 97 99 JLabel usernameLabel=new JLabel("Username"); 98 100 JLabel passwordLabel=new JLabel("Password"); 99 101 102 serverLabel.setComponentOrientation(Dictionary.getOrientation()); 103 protocolLabel.setComponentOrientation(Dictionary.getOrientation()); 104 usernameLabel.setComponentOrientation(Dictionary.getOrientation()); 105 passwordLabel.setComponentOrientation(Dictionary.getOrientation()); 106 100 107 m_serverComboBox=new JComboBox(new String[]{m_lastServer}); 108 m_serverComboBox.setComponentOrientation(Dictionary.getOrientation()); 101 109 m_serverComboBox.setEditable(true); 102 110 m_protocolComboBox=new JComboBox(new String[]{m_lastProtocol, "https"}); // http and https 111 m_protocolComboBox.setComponentOrientation(Dictionary.getOrientation()); 103 112 m_protocolComboBox.setEditable(true); 104 113 m_usernameComboBox=new JComboBox(new String[]{m_lastUsername}); 114 m_usernameComboBox.setComponentOrientation(Dictionary.getOrientation()); 105 115 m_usernameComboBox.setEditable(true); 106 116 m_passwordField=new JPasswordField(); … … 121 131 122 132 JPanel inputPane=new JPanel(); 133 inputPane.setComponentOrientation(Dictionary.getOrientation()); 123 134 inputPane.setBorder(BorderFactory.createCompoundBorder( 124 135 BorderFactory.createCompoundBorder( … … 155 166 156 167 JPanel buttonPane=new JPanel(); 168 buttonPane.setComponentOrientation(Dictionary.getOrientation()); 157 169 buttonPane.add(loginButton); 158 170 buttonPane.add(cancelButton); 159 171 Container contentPane=getContentPane(); 172 contentPane.setComponentOrientation(Dictionary.getOrientation()); 160 173 161 174 contentPane.setLayout(new BorderLayout()); 162 175 m_infoPane = new JPanel(); 176 m_infoPane.setComponentOrientation(Dictionary.getOrientation()); 163 177 m_infoPane.setBackground(TRANSPARENT); 164 178 contentPane.add(m_infoPane, BorderLayout.NORTH);
Note:
See TracChangeset
for help on using the changeset viewer.