I'm stuck in the middle of j2me project because I have no idea how to do something that would be easily done in other platforms, but that doesn't seem to have a direct solution in java me/j2me.
What I need to do is this (it doesn't matter if it is with Netbeans MIDP components, LWUIT or plain lcdui)
I have to display a list of customers (read from a web service) in some sort of table, and when the user navigates up or down the rows, a "Details" command must be shown so that the user can see the details for that specific customer. Something like this image:
I know I can always use a List, but the problem is that Lists only allow a single "cell" per item, which is not very visually attractive as a table.
LWUIT has a table package with classes that should be able to help you accomplish what you want. You can find out more here.
The LCDUI doesn't have any classes for managing tabular data and am not sure about Netbeans MIDP components.
Thank you Kondwani. A getSelectedRow method sound great. The problem with this and with almost everything in j2me is the lack of information and examples.
Did you ever use getSelectedRow ?? Do you think you could give me an example of how to use this method?? So far this is the most "complete" example I have found regarding tables in LWUIT :S
And then the flying monkeys attacked. My only defense was this tiny ad: