Hi, I got some panels with imageicons in each of them, when I right click on each of these panels I want to let the user know its selected, so that means I got to draw some border around the panel or change the panel color, how do i do it on right click?..do i have to add mouselisteners or is there any other alternative? Pls reply asap. Regards, Vinod
- Vinod<br />-------<br />SCJP2
posted 15 years ago
Hi, I would probably just use a series of buttons... they will give you the required behaviour, and with the ability to attach a button group you can guarentee that only one is selected.... Another approach is to use a List with a custom listRenderer. The renderer can display an image, and a border can be easily attached...