I've got an application which draws a background image
on a panel
, but to achieve the optimal UI, I need to set Component
backgrounds Transparent
:
I made every component transparent by using the UI Manager:
uimanager.put(Button, background(new color(0, 0, 0, 0);
<- something like that, this works perfectly, except..
onMouseOver
the component
redraws itself (I guess) and causes Artifacts.. How can I avoid this in the UIManager
?
(I created a class: uidefaults.java
with all the UIManager
settings)
Thanks in advance!!