<Swing Dev> [10] Review request for 8188081: Text selection does not clear after focus is lost
Semyon Sadetsky
semyon.sadetsky at oracle.com
Thu Oct 19 18:36:34 UTC 2017
Hello,
Please review fix for JDK10 (the changes involve AWT and Swing):
bug: https://bugs.openjdk.java.net/browse/JDK-8188081
webrev: http://cr.openjdk.java.net/~ssadetsky/8188081/webrev.00
The 8025082 fix is reverted. Swing text selection visibility behavior is
changed according to the next rules:
- There may be only one visible selection per window.
- If the input focus moved to another window selection remains visible
or may change its color (depends on L&F).
- Selection may not be shown in the same color in several windows
simultaneously.
- Activating a popup menu does not hide the current selection.
The fix should make Swing selection visibility behaving in standard way
as in native systems UIs.
--Semyon
More information about the swing-dev
mailing list