Skip to main content

How to use list modle when the listcellrendere is extend from TextArea

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2010-04-21

Dear Guys,
I created a ListCellRewndere class that extends TextArea and implements ListCellRendere, and i want to change the list items data when pressing on a botton, So i should use ListModel to get list items as TextAreas objects depending on index, So how can i use ListModel in this situation.
Please Help with new Idea if this idea will not work fine,
Thanks alot advance.

Reply viewing options

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

List model should always return data never components. See the LWUIT demo code for the renderer and scroll demo.