Changeset 19050 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/server/OsmApiUrlInputPanel.java
- Timestamp:
- 2024-04-22T20:59:26+02:00 (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/server/OsmApiUrlInputPanel.java
r18173 r19050 5 5 6 6 import java.awt.Font; 7 import java.awt.GridBagConstraints; 7 8 import java.awt.GridBagLayout; 8 9 import java.awt.event.ActionEvent; … … 83 84 84 85 // the checkbox for the default UL 85 add(buildDefaultServerUrlPanel(), GBC.eop().fill(G BC.HORIZONTAL));86 add(buildDefaultServerUrlPanel(), GBC.eop().fill(GridBagConstraints.HORIZONTAL)); 86 87 87 88 // the input field for the URL 88 89 add(lblApiUrl, GBC.std().insets(0, 0, 3, 0)); 89 add(tfOsmServerUrl, GBC.std().fill(G BC.HORIZONTAL).insets(0, 0, 3, 0));90 add(tfOsmServerUrl, GBC.std().fill(GridBagConstraints.HORIZONTAL).insets(0, 0, 3, 0)); 90 91 lblApiUrl.setLabelFor(tfOsmServerUrl); 91 92 SelectAllOnFocusGainedDecorator.decorate(tfOsmServerUrl.getEditorComponent()); … … 257 258 @Override 258 259 public void itemStateChanged(ItemEvent e) { 259 switch (e.getStateChange()) {260 switch (e.getStateChange()) { 260 261 case ItemEvent.SELECTED: 261 262 setApiUrlInputEnabled(false);
Note:
See TracChangeset
for help on using the changeset viewer.