Is there a RenderingHint for ClearType/SubPixel rendering?
Is there a RenderingHint associated with native (i.e. ClearType) sub-pixel rendering? Is there a way to read RenderingHints associated with an existing component in order to find out whether it has ClearType enabled?
If you take a look at http://www.netbeans.org/issues/show_bug.cgi?id=137845 and the relevant patch http://hg.netbeans.org/main/rev/06619e663be5 you will note how fragile the code has become. Netbeans tries to avoid specifying any anti-aliasing hints for fear of mistakenly disabling ClearType rendering.
Surely there is a better way...?