Re: Recommendation
Tim Boudreau <[email protected]> Tue, 10 Jul 2007 13:32:10 -0700
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
Ramon Ramos wrote:
> Hi,
>
> Concerning the miscellaneous panel from the options dialog of the IDE, I
> think it would be better that when explicitly setting the background
> color to white for an options panel, to also set the foreground color to
> a dark color in order for the text to remain readable if the user
> switches to a LaF with an inverted color scheme.
As Jesse pointed out, it has been redesigned. But generally, nobody
should be hard-coding colors in UI code.
UIManager.getColor("white");
will do the trick and work with inverted color schemes.
-Tim