I've been trying out Java 6 (b44) with IntelliJ 5 (b3424), and am trying to get the famous new subpixel anti-alias feature to work in simple Swing applications.
I'm NOT using an operating system with this feature: I'm using Windows 2000 right now, with "normal" anti-aliasing but obviously not subpixel-antialiasing enabled. In the blog by Chet Haase:
...it shows how subpixel anti-aliasing is enabled automatically when the O/S (windowing system) has enabled it. Having a look through classes such as:
...shows how this is applied, but frankly I got lost in the code (which I think is Java-implementation-specific, using Sun-only classes).
Apart from using Graphics2D to take the responsibility for painting the component myself, I can't see how to enable this programmatically for all Swing components (e.g.: JButton, JLabel) for any O/S or any look and feel.
Any ideas from other people out there on the bleeding edge?