hg: jdk8u/jdk8u-dev/jdk: 8076164: [JTextField] When input too long Thai character, cursor's behavior is odd

paul.hohensee at gmail.com paul.hohensee at gmail.com
Wed Mar 6 21:43:23 UTC 2019


Changeset: dea84489c35e
Author:    ssadetsky
Date:      2019-03-06 21:43 +0000
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/dea84489c35e

8076164: [JTextField] When input too long Thai character, cursor's behavior is odd
Summary: Add GlyphView.getResizeWeight() to enable forced use of getPreferredSpan(X_AXIS).
Reviewed-by: alexsch, azvegint

! src/share/classes/javax/swing/plaf/basic/BasicTextFieldUI.java
! src/share/classes/javax/swing/text/GlyphView.java
+ test/javax/swing/JTextField/I18NViewNoWrapMinSpan/I18NViewNoWrapMinSpan.java



More information about the jdk8u-dev-changes mailing list