On Thu, 9 Sep 1999, Kontorotsui wrote:

> BG color from the container. Ok... then tell me why by default the background
> color is not set to null but to a SystemColor constant! I don't find any logic
> in this, the default should be the most generic choice (null), not the most
> specific (a fixed constant). Having a JPanel with a default BG color seems to
> me most sadic.

Well, what if the default was to take on the color of the parent
container.  what if I wanted my controls to be a different color than the
background (which I've used more often than having all controls the same
color, when the panel color is not the default)?  I think the design of
the particular look and feel is what dictates how things are displayed.
That is another solution, btw, to write your own pluggable look and feel
that follows your preferred color pattern.

> Let's try to jump back ontopic: I have no means to check, but could this be a
> problem only in the Linux JDK? I don't believe it is likely to be...

Nope... I think it's part of the original design.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to