Hi Frank,

 a little addenda:

but as I was using the NetBeans IDE on Win XP (on Linux doesn't work so
well) with Metal Look and Feel, I didn't realize this painting issue...
and for some specs. I see some of you people are using Win XP with the
same L&F.

Ah!, which means it doesn't happen with native look and feel. Which is
logical, now that I debugged into it ... (I left a comment for Christian
in the issue, describing what I found out so far).

The issue is independent from the native L&F, it's just that it can be notice when the system's colors are different:

the default L&F on Windows XP is the blue one you see on Illustration 1 (http://www.openoffice.org/nonav/issues/showattachment.cgi/49132/AWT_TREE_CONTROL_PAINTING_ISSUE.odt)

"Windows XP default look and feel (blue). The system color rendered for the background of selected items [see java.awt.SystemColor.textHighlight] is RGB(49, 106, 197), this is right. But the system color rendered for the text of selected items [see java.awt.SystemColor.textHighlightText] is RGB(255, 255, 255); this one is wrong rendered: keeps the same system color rendered for the text of control panels and control objects [see java.awt.SystemColor.controlText]."


what happens here is that in the Win XP Metal L&F "both system colors are the same [java.awt.SystemColor.textHighlightText and java.awt.SystemColor.controlText both RGB(0, 0, 0)]." (Illustration 3)

This just a coincidence!


Bye,
Ariel.



--
Ariel Constenla-Haile
La Plata, Argentina

[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.arielconstenlahaile.com.ar/ooo/



"Aus der Kriegsschule des Lebens
                - Was mich nicht umbringt,
        macht mich härter."
                Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to