hg: jdk8u/jdk8u-dev/jdk: 8133108: [PIT] Container size is wrong in JEditorPane

paul.hohensee at gmail.com paul.hohensee at gmail.com
Fri Mar 8 16:16:56 UTC 2019


Changeset: c3e189117c37
Author:    ssadetsky
Date:      2019-03-08 16:16 +0000
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/rev/c3e189117c37

8133108: [PIT] Container size is wrong in JEditorPane
Summary: Override GlyphView.getMinimumSpan in BasicTextFieldUI instead of explicit check in default getMinimumSpan.
Reviewed-by: alexsch, azvegint

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



More information about the jdk8u-dev-changes mailing list