Changeset 6883 in josm for trunk/src/org/openstreetmap/josm/gui/widgets
- Timestamp:
- 2014-02-25T01:31:24+01:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/widgets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/AbstractTextComponentValidator.java
r6362 r6883 33 33 */ 34 34 public abstract class AbstractTextComponentValidator implements ActionListener, FocusListener, DocumentListener, PropertyChangeListener{ 35 static final privateBorder ERROR_BORDER = BorderFactory.createLineBorder(Color.RED, 1);36 static final privateColor ERROR_BACKGROUND = new Color(255,224,224);35 private static final Border ERROR_BORDER = BorderFactory.createLineBorder(Color.RED, 1); 36 private static final Color ERROR_BACKGROUND = new Color(255,224,224); 37 37 38 38 private JTextComponent tc; -
trunk/src/org/openstreetmap/josm/gui/widgets/BoundingBoxSelectionPanel.java
r6380 r6883 121 121 } 122 122 123 staticprivate class LatitudeValidator extends AbstractTextComponentValidator {123 private static class LatitudeValidator extends AbstractTextComponentValidator { 124 124 125 125 public static void decorate(JTextComponent tc) { … … 161 161 } 162 162 163 staticprivate class LongitudeValidator extends AbstractTextComponentValidator{163 private static class LongitudeValidator extends AbstractTextComponentValidator{ 164 164 165 165 public static void decorate(JTextComponent tc) {
Note:
See TracChangeset
for help on using the changeset viewer.