i have the same issue, several components including both custom
JComponent subclasses and regular JLabels etc. having painting bugs
(painting at least two times on top of each other causing antialiased
stuff (basically everything with alpha != 1.0) to look distorted
darkish. this was introduced by the switch from 1.4.2 to 1.5 i think.
it mainly happens when containers get resized. see the attached
images for two examples ; the shadow of the gadget dial in "Bild
6.png" is particularly weired as the actual component sits at a
different place in the tab pane.
best, -sciss-
Am 30.05.2006 um 14:32 schrieb Florijan Stamenkovic:
Hi all,
I apologize if this subject was up already, I did not find it in
the archives.
I experience a painting glitch in the top left corner of my
windows, if there is a non opaque component placed there, for
example a JLabel. By "glitch" I mean things like a scroll bar
appearing as the background of the text, or two times painting the
anti-aliased text which causes it to look bolder. It happens during
resizing, and only as the window becomes more complex. Mostly it is
gone once the resizing is done, but sometimes it stays. I were not
able to establish a connection between a certain GUI element or
layout manager, and this glitch. For example, I could achieve it by
using JLabel, BorderLayout, a bunch of JTable instances, all
organized in a few JPanels in a frame. The label was in top left
corner of the screen, and the glitch was there.
Only using opaque components seems to be a solution there, but I
would prefer to avoid that.
Anybody else has this problem, or knows a solution?
TIA,
Flor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden