Touch screen application in java

touch screen programming in java

Page 1 of 1

10 Replies - 19812 Views - Last Post: 13 May 2010 - 05:18 AM Rate Topic: -----

#1 Guest_appa*


Reputation:

Touch screen application in java

Posted 10 May 2010 - 10:46 PM

Hi,
how to create a touch screen application using java, it includes zoom ,sroll the screen left to right?
how to open keyboard when we focus the text filed?
if posiible give me source code...
Is This A Good Question/Topic? 0

Replies To: Touch screen application in java

#2 no2pencil  Icon User is offline

  • Head MFIC
  • member icon

Reputation: 5061
  • View blog
  • Posts: 26,433
  • Joined: 10-May 07

Re: Touch screen application in java

Posted 10 May 2010 - 10:50 PM

Please re-read over the rules before posting, as it clearly states that we don't give source code. We ask that you provided a good faith effort 1st. Also, please check under the Snippets or Tutorials.
Was This Post Helpful? 0
  • +
  • -

#3 Guest_appa*


Reputation:

Re: Touch screen application in java

Posted 10 May 2010 - 11:05 PM

Hi,
please give me idea and provide me tutorial URLS.............
Was This Post Helpful? 0

#4 macosxnerd101  Icon User is offline

  • Self-Trained Economist
  • member icon




Reputation: 10180
  • View blog
  • Posts: 37,585
  • Joined: 27-December 08

Re: Touch screen application in java

Posted 11 May 2010 - 03:31 AM

I Googled and found a tool you may find helpful. Note that it is for mobile apps and Java ME, not Java SE.
Was This Post Helpful? 0
  • +
  • -

#5 Guest_appa*


Reputation:

Re: Touch screen application in java

Posted 11 May 2010 - 03:42 AM

Hi,
i want to write a application on j2se.
Was This Post Helpful? 0

#6 macosxnerd101  Icon User is offline

  • Self-Trained Economist
  • member icon




Reputation: 10180
  • View blog
  • Posts: 37,585
  • Joined: 27-December 08

Re: Touch screen application in java

Posted 11 May 2010 - 09:19 AM

What exactly are you writing? Most touch screen devices come with drivers so that moving your finger was like moving the Mouse. So if you are designing a GUI, standard ActionEvents and MouseEvents will work, as if a normal mouse was used.
Was This Post Helpful? 0
  • +
  • -

#7 Guest_appa*


Reputation:

Re: Touch screen application in java

Posted 11 May 2010 - 09:40 PM

Hi,
1--How to zoom and unzoom , scroll the screen while zoom.
2--how to use keyboard when i focus text filed?

i wnat to write a java web application for touch screen not a mobile?
Was This Post Helpful? 0

#8 macosxnerd101  Icon User is offline

  • Self-Trained Economist
  • member icon




Reputation: 10180
  • View blog
  • Posts: 37,585
  • Joined: 27-December 08

Re: Touch screen application in java

Posted 11 May 2010 - 09:47 PM

As I said above, touch screen devices come with the necessary drivers for you to still work at the high level in Java. So you can write a GUI in Java for touch screen the same as if it wasn't running on a touch screen device.

Beyond this, I don't know how much more we can help you with your GUI until we see some effort.
Was This Post Helpful? 0
  • +
  • -

#9 pbl  Icon User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8315
  • View blog
  • Posts: 31,836
  • Joined: 06-March 08

Re: Touch screen application in java

Posted 11 May 2010 - 09:53 PM

Touch screens in Java are implemented as Mouse Event
So if you have the good drivers, you just need a MouseListener to trap the touch screen event and act accordingly
Was This Post Helpful? 0
  • +
  • -

#10 Guest_appa*


Reputation:

Re: Touch screen application in java

Posted 12 May 2010 - 09:37 PM

what is multi-touch? how can we program for this?
please provide me some knowledge or URLs?
Was This Post Helpful? 0

#11 macosxnerd101  Icon User is offline

  • Self-Trained Economist
  • member icon




Reputation: 10180
  • View blog
  • Posts: 37,585
  • Joined: 27-December 08

Re: Touch screen application in java

Posted 13 May 2010 - 05:18 AM

Take a look at Sun's Tutorial on Using Mouse Listeners as well as the Java Tutorials Section on Swing GUIs.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1