Ignore:
Timestamp:
2015-02-10T21:58:44+01:00 (9 years ago)
Author:
Don-vip
Message:

fix #11093 - workaround for Java bug JDK-6322854 in JosmTextField. Use it in CredentialDialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/widgets/JosmTextField.java

    r8005 r8038  
    2121 * <li>adds an optional "hint" displayed when no text has been entered</li>
    2222 * <li>disables the global advanced key press detector when focused</li>
     23 * <li>implements a workaround to <a href="https://bugs.openjdk.java.net/browse/JDK-6322854">JDK bug 6322854</a></li>
    2324 * <br>This class must be used everywhere in core and plugins instead of {@code JTextField}.
    2425 * @since 5886
     
    7374        }
    7475        addFocusListener(this);
     76        // Workaround for Java bug 6322854
     77        JosmPasswordField.workaroundJdkBug6322854(this);
    7578    }
    7679
Note: See TracChangeset for help on using the changeset viewer.