<Swing Dev> [12] RFR JDK-8201925:JEditorPane unordered list bullets look pixelated

Krishna Addepalli krishna.addepalli at oracle.com
Thu Aug 23 08:35:37 UTC 2018


Hi Prasanta,
The fix looks fine to me. 
However, there is a small nit in the test. Test.dispose is not called when the test succeeds or fails. It is called only when User has not executed the test. Is this intentional?

Thanks,
Krishna

-----Original Message-----
From: Prasanta Sadhukhan 
Sent: Wednesday, August 22, 2018 12:34 PM
To: swing-dev at openjdk.java.net
Subject: <Swing Dev> [12] RFR JDK-8201925:JEditorPane unordered list bullets look pixelated

Hi All,

Please review a fix for an issue where the HTML list bullets for HTMl text in JEditorPane looks pixelated and not smooth.
The issue is because the shape is not anti-aliased thereby not being rendered smooth.

Proposed fix is to draw the shape(in this case round bullets) in antialias rendering for content-type text/html.

Bug: https://bugs.openjdk.java.net/browse/JDK-8201925
webrev: http://cr.openjdk.java.net/~psadhukhan/8201925/webrev.0/

Regards
Prasanta


More information about the swing-dev mailing list