|Label with FocusListener [message #458082]
||Sat, 09 July 2005 04:25
Originally posted by: songlin78.gmail.com|
I have a composite with a few labels, and I like to change their
background colors when they have the focus. If label1 has the focus, its
background become blue and all other lables' background become default
color. It is like highlighting the selected label. I tried to add Select
event listener and FocusListener and neight of them was fired when I
clicked on the label. I tried to avoid MouseListener for some reason.
Does anyone has other idea to share?
Thanks in advance
Powered by FUDForum
. Page generated in 0.01737 seconds