The moose likes Swing / AWT / SWT / JFace and the fly likes Can I use Swing? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "Can I use Swing?" Watch "Can I use Swing?" New topic
Author

Can I use Swing?

Annmarie Ziegler
Greenhorn

Joined: Apr 06, 2001
Posts: 21
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

Joined: Sep 18, 2001
Posts: 57
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

Joined: Oct 01, 2000
Posts: 167
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

Joined: Jan 07, 2002
Posts: 2205
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


Rob
SCJP 1.4
Joel Cochran
Ranch Hand

Joined: Mar 23, 2001
Posts: 301
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...


Wait a minute, I'm trying to think of something clever to say...<p>Joel
 
 
subject: Can I use Swing?
 
Threads others viewed
How to paint a string in red color
Java AWT Right to left (arabic) support
Part 2: Security in Web & Swing App
Is it possible to move the beans.xml file outside my app?
Should Swing have changed in Java 1.5?
MyEclipse, The Clear Choice