Skip to main content

multiple click events on 1 item

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
2 replies [Last post]
niveditajain2002
Offline
Joined: 2011-08-19

I have a list containing different label boxes.

Can i make the listItem parts, means the label boxes, as clickable.

Right now whole list item is clickable.

I wanna to perform different function, like when user click on name it went to other screen and when user click image it went to another screen

Is there any solution for it!

The application is not for touch screen mobiles.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07

If your goal is not for touch screen devices then there is no solution for your requirement other than don't use a list.

Just use container and components which allow this seamlessly for all device types.

niveditajain2002
Offline
Joined: 2011-08-19

Thanx vprise.

I knew the answer, jus wanna to approve it!