- Timestamp:
- 2006-07-10T14:42:54+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/GAuthenticator.java
r10581 r12115 83 83 JLabel title_label = new JLabel(getMessageString()); 84 84 JPanel user_panel = new JPanel(); 85 JLabel username_label = new JLabel(); 86 Dictionary.setText(username_label, "GAuthenticator.Username"); 85 JLabel username_label = new JLabel(Dictionary.get("GAuthenticator.Username")); 87 86 JTextField username = new JTextField(); 88 Dictionary.setTooltip(username, "GAuthenticator.Username_Tooltip");87 username.setToolTipText(Dictionary.get("GAuthenticator.Username_Tooltip")); 89 88 JPanel password_panel = new JPanel(); 90 JLabel password_label = new JLabel(); 91 Dictionary.setText(password_label, "GAuthenticator.Password"); 89 JLabel password_label = new JLabel(Dictionary.get("GAuthenticator.Password")); 92 90 password = new JPasswordField(); 93 91 password.setEchoChar('*'); 94 Dictionary.setTooltip(password, "GAuthenticator.Password_Tooltip");92 password.setToolTipText(Dictionary.get("GAuthenticator.Password_Tooltip")); 95 93 JPanel button_panel = new JPanel(); 96 ok_button = new GLIButton(); 97 ok_button.setMnemonic(KeyEvent.VK_O); 98 Dictionary.setBoth(ok_button, "General.OK", "General.OK_Tooltip"); 99 cancel_button = new GLIButton(); 100 cancel_button.setMnemonic(KeyEvent.VK_C); 101 Dictionary.setBoth(cancel_button, "General.Cancel", "General.Cancel_Tooltip"); 102 94 ok_button = new GLIButton(Dictionary.get("General.OK"), Dictionary.get("General.OK_Tooltip")); 95 cancel_button = new GLIButton(Dictionary.get("General.Cancel"), Dictionary.get("General.Cancel_Tooltip")); 96 103 97 // Connection 104 98 cancel_button.addActionListener(new AuthenticationActionListener(true));
Note:
See TracChangeset
for help on using the changeset viewer.