Subpixel anti-aliasing: enable it programmatically for Swing components
...and having downloaded Mustang b44, browsed the source, and read through the JavaDocs, I can't see how to enable subpixel anti-aliasing when it's not "inherited" from the desktop. I'm using Windows 2000, and am trying to create a simple "Hello World" JFrame with a few JLabels and JButtons to try this feature out.
I can see how text should be rendered on a surface such as a JPanel by overriding paintComponent() and the Graphics2D object, but I can't see how to force other components (labels, buttons, tables, and so on) to use this.
When looking through src.zip with the Mustang snapshots, I can see (roughly) how desktop properties are picked up upon and stored in the look-and-feels UIDefaults, but the property names, values, and types are somewhat unclear and appear to be Sun-specific... I looked at:
How can I force this to be enabled for all Swing components?