Allysia
2005-01-21 21:45:15 UTC
Is there any easy way to make a JTextField semi-transparent (maybe 50%
alpha)?
I tried setting the background color to "new Color(255,255,255,70)", but
the JTextField's background pickedup all sorts of weird things, and became
less transparent with each keystroke.
Do I have to create an extension of JTextField and overload the paint()
function?
-Ally
alpha)?
I tried setting the background color to "new Color(255,255,255,70)", but
the JTextField's background pickedup all sorts of weird things, and became
less transparent with each keystroke.
Do I have to create an extension of JTextField and overload the paint()
function?
-Ally