Changeset 5886 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/server/BasicAuthenticationPreferencesPanel.java
- Timestamp:
- 2013-04-19T22:21:57+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/server/BasicAuthenticationPreferencesPanel.java
r5752 r5886 8 8 import java.awt.GridBagLayout; 9 9 import java.awt.Insets; 10 import java.net.Authenticator.RequestorType; 10 11 import java.net.PasswordAuthentication; 11 import java.net.Authenticator.RequestorType;12 12 13 13 import javax.swing.BorderFactory; 14 14 import javax.swing.JLabel; 15 15 import javax.swing.JPanel; 16 import javax.swing.JPasswordField;17 import javax.swing.JTextField;18 16 19 17 import org.openstreetmap.josm.gui.widgets.JosmPasswordField; 18 import org.openstreetmap.josm.gui.widgets.JosmTextField; 20 19 import org.openstreetmap.josm.gui.widgets.SelectAllOnFocusGainedDecorator; 20 import org.openstreetmap.josm.io.OsmApi; 21 21 import org.openstreetmap.josm.io.auth.CredentialsAgent; 22 22 import org.openstreetmap.josm.io.auth.CredentialsAgentException; 23 23 import org.openstreetmap.josm.io.auth.CredentialsManager; 24 import org.openstreetmap.josm.io.OsmApi;25 24 26 25 /** … … 32 31 33 32 /** the OSM user name */ 34 private J TextField tfOsmUserName;33 private JosmTextField tfOsmUserName; 35 34 private UserNameValidator valUserName; 36 35 /** the OSM password */ 37 private J PasswordField tfOsmPassword;36 private JosmPasswordField tfOsmPassword; 38 37 /** a panel with further information, e.g. some warnings */ 39 38 private JPanel decorationPanel; … … 56 55 gc.gridx = 1; 57 56 gc.weightx = 1.0; 58 add(tfOsmUserName = new J TextField(), gc);57 add(tfOsmUserName = new JosmTextField(), gc); 59 58 SelectAllOnFocusGainedDecorator.decorate(tfOsmUserName); 60 59 valUserName = new UserNameValidator(tfOsmUserName);
Note:
See TracChangeset
for help on using the changeset viewer.