Skip to main content

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

1 reply [Last post]
abuhmead1987
Offline
Joined: 2010-04-21
Points: 0

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.
vprise
Offline
Joined: 2003-11-07
Points: 0

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