J2ME Table component with focus and scroll
Sometimes it happens that you must draw a table within a J2ME application. Even if there are some nice UI frameworks out there, they’re simply oversized if you need only a simple, plain, scrollable table.
This is the reason why I’ve decided to write a custom component that you can use to draw tables, with the following features:
- Focusable cells
- Vertical scrolling
- Auto-sizing columns

Some nice features to be added in a future version could be, for example:
- Cell wrap when moving from a cell to another
- Horizontal scrolling, to support tables with a lot of columns
- Support for headers
You can see a live version on the emulator page. Full midlet source code is available here.
English site
Italian site















May 15th, 2008 at 7:24 pm
thanks, I’ll try it first.
Regard,
May 27th, 2008 at 5:19 am
kuull.. thx
June 27th, 2008 at 8:12 am
why doesnt it scroll horizontally when more that 4 rows are added. the netbeans TableItem does