Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tabpage

 
Henk Rog
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'm totally new to J2ME. Can somebody give me an example on how to make a tabpage?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, there isn't a Tabpage class in J2ME. You could always try to create one from scratch, but how will a user select the tabs, why would you just use a menu to allow them to switch between "Pages".
To create one from scratch you would have to create a class that extends Item, then useing a Graphics class draw your tabs, and how it looks. I think.
Good Luck. But I highly suggest having a menu instead.
Mark
 
Henk Rog
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how will a user select the tabs

I'm making an application for a handheld device with touchscreen, so I guess selecting the tabs will not be a problem.
 
Henk Rog
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An example on how to do this would be helpfull, but I can't find anything good on the internet.
 
Sathya Srinivasan
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using a touchscreen device (like a PDA), then you might probably want to explore the CDC package or other J2ME packages rather than MIDP and CLDC since these APIs are more restrictive as they are meant to be generic.
For example, you might find Tab support in CDC library (although not sure).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic