On Tue, 30 May 2006 at 20:22:24, Florijan Stamenkovic wrote:
> > 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.
>
>
> No, it is not a 1.5 issue, I have seen it before 1.5 touched my
> machine. I attach an example as well, a button that is lower in my
> window is painted beneath a label.
>
> Any other ideas as to where it is coming from???
Check up the hierarchy to find the first opaque component (JPanel, by default,
is opaque and is used as the default content pane). Swing entirely controls the
painting on lightweight components, so any platform-specific funniness is
confined to changing settings (i.e. opaque or optimized drawing) or PLAF drawing.
_______________________________________________
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