Posted by gnoupi
on June 10, 2009 at 5:37 AM PDT
First, if this was answered already, I'm sorry, I searched in the forum, but I haven't found.
I have a refresh issue with using LockableUI, with transparent JXPanels.
To be more precise, I took the example from LockableDemo, and adapted it to my context. In what I use, I put a JXPanel in the JXLayer. This JXPanel has an alpha property like 0.9999, so that the panel itself is transparent, but its components are visible. (And in background of it, I have some gradient component coming from another library)
My problem is, that when I lock and unlock the panel, the transparent areas are not refreshed correctly. I mean that for example, a label which changed value during the lock, will be like printed over its previous state. Or another example, the last image from the busyPainter used during lock is still visible in some area.
This is strange, considering that other components, like tables, buttons, are correctly refresh. Only the components using transparency present this issue.
I tried to force repaint after unlocking, but I can't fix this issue.
What am I doing wrong ?
My question seems to be rather about the correct use of JXLayer, that's why I haven't included a source, but if necessary, I will.
Thanks in advance for more informations :-)
Message was edited by: gnoupi