I want to display 3 rows on the screen for which table or gridlayout is needed. Is it possible without using frameworks? How should I implement for displaying 3 rows on the screen?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
You should try to use existing GUI libraries that help you use XML, CSS etc. to do layout. One site to check out this:
http://www.newsofthefuture.net/index.php?/archives/33-Evaluation-GUI-libraries-for-J2ME.html
Enjoy!
If you want to use Table or gridlayout in J2ME you should create your own item with the help of CustomItem (javax.microedition.lcdui.CustomItem). You should code for drawing lines for rows and columns.
If you use NetBeans then in NetBeans Mobility Pack there is library used for displaying a table. If you use NetBeans then you use the "org.netbeans.microedition.lcdui.TableItem" for the table.