• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Can I use Swing?

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 2205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
It's a tiny ad only because the water is so cold.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic