Talk:Create more flexible table in Java ME
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.
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)