Skip to main content

LWUIT - How to handle table row or cell selection events/listener?

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
saideep_11
Offline
Joined: 2011-03-03

Hi All,

I am new to LWUIT, and I am trying to construct simple Table with simple data (without any custom cell componets like button,checkbox,lable....).

I am not able to find how to handle the vents after row or table cell selection?

Are there any listeners to handle this?

Please let me know your comments on this.

Thanks,

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

You might want to use a List rather than a table.
In the case of the table you override the cell creation method and add a focus listener.