• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create Grid layout in MIDP 1.0.4

 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I downloaded J2ME WTK 1.0.4. I wanted to create a grid like display. How can I do it? I didn't find any class supporting grid layout like J2SE.

I only found TextField, TextBox which I can probably use to create grid but that would be a mess...

Thanks
Maulin
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no "grid" layout in MIDP. You have to draw it yourself on a Canvas or come up with your own CustomItem if you use MIDP 2.
 
Robert Virkus
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could also use an alternative GUI, e.g. the one J2ME Polish provides.
J2ME Polish provides the possibility to use simple tables for Forms, Lists and so on.

http://www.j2mepolish.org

Best regards,
Robert
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic