Talk:Create more flexible table in Java ME

From Nokia Developer Wiki
Jump to: navigation, search
26 Sep
Article Review by Larry101 (20090926)

This article presents a very impressive table component for use in Java ME. Java ME does not provide any default table component. The NetBeans Mobility Pack does provide a fairly basic table component, but as the author of this article rightly points out, it suffers from several shortcomings, including the fact that it does not support text-wrapping within a cell. The following article discusses the NetBeans TableItem: How to show table layout data in a MIDP form

The code for the table component is nicely organised into three classes. First is the Table class which contains the logic and rendering code for the table. Secondly, the TableCell class contains the logic and properties of individual table cells, such as width, height and whether or not the cell is editable. Finally, the CellEditor class contains logic for editable table cells. The code is commented where appropriate to help the reader understand what is going on in the code.

The result is a table component which is impressive both in terms of its appearance and scalability. Text can wrap within a cell where appropriate, and the table is able to scroll. Cell contents are also editable. In my personal opinion, it is a big improvement on the NetBeans TableItem component.

Hi0001234d -

hi friends! Since last one week i am trying to devlop an editable table in netbeans 6.9.1 edition for nokia MIDP2.0 CLDC1.0 series mobiles. After lot's of googling i found your article, exactly what i am looking for. i had download .zip, compile it and looks good but i don,t get any table displayed in mobile window. there is just one notification in title that select one to launch,what is the meaning of that. please suggest me solution , i had tried this code in midlet,midlet canvas but it displayes nothing.

so please please help......

hi0001234d 15:45, 21 April 2012 (EEST)

Dasaripraveen.praveen@gmail.com - Reg : Tabble Headder in Canvas...

Dear Friends, Any one knows how to design multi line headder in table canvas...???

If you know please post that code...

dasaripraveen.praveen@gmail.com (talk) 15:14, 17 September 2013 (EEST)

Hamishwillee - This article was written in 2008

The chances are that the author is no longer watching it. I suggest you raise the question on the Nokia Asha discussion boards as there will be more people there who can help you. Include what you have tried already and links to this article so that you don't get redirected back here (in a circle).



hamishwillee (talk) 04:46, 18 September 2013 (EEST)


Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.