• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I use Swing?  RSS feed

 
Annmarie Ziegler
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new to Swing programming (I do mostly servlets/jsp/xml) and I am now tasked with protoyping an app that will run on a tablet (Something like a HP Jornada) using a touch screen. Using a web app is not an option. So I'm just not sure if I can write a Swing app for it or do I need to use J2ME? And I've never written anything that uses a touch pad and am not sure where to start. Any help would be greatly appreciated...or a push in the right direction...or a book recommendation (I have already read Swing by Robinson & Vorobiev?
Thanks in advance.
Annmarie
 
Michael Szul
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was always under the impression that the technology for touch sensitive screens were in the screens themselves and not the language that you develop with.
I could be wrong though. I've never tried that kind of work before.
 
Rob Levo
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you need to contact the vendor of the touch screen. A Swing or J2ME app might not be options.
Interesting question, let us know what answer is.
Good luck.
 
Rob Ross
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know if this will help you or not but...
I did a little "hello world" app for my Palm III about a year and half ago using a beta version of what was then called the KVM (I think it's still called that?). The API classes they provided for UI were pretty much the kinds of things you can do/interact with on the PalmOS. It's kind of a dummed down version of AWT. But it's a *completely* different API, not compatible at all with Swing or AWT. Unless they can port the full JVM to that tablet device, I think you'll have to make do with the API in J2ME.
That's not to say you can't do a lot with it; on the contrary. But for me, being used to a full UI API like Swing, it was really hard for me to "dumb down" my GUI. This is definately a specialized skill.
Rob
 
Joel Cochran
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There supposedly is a product called "Jump" which will allow you to code in Java and then compile the Java code to a .prc file for running on Palms. Maybe something like this? It would seem to me that there would be a market for this, I know I'd use it...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!