943,740 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 471
  • Java RSS
Oct 31st, 2008
0

Please help, tracing app.

Expand Post »
Hi, I am developing an application about tracing for preschoolers.

Currently, I am developing a application and is using touch screen that does tracing. Currently, I am using mouseListener because if I am not wrong, touch screen basically equals mouse clicks. So now my application can does drawing. Next, I need to display a letter say "A", how can I validate it? E.g when user trace A, if position is right, tracing display, else tracing will not appear. My 2 cents was using colour recgonition. E.g, system display "A" in grey, when user click the "A" part which is grey in colour, ink become black and paint over the areas being traced. I have no idea how to start searching because I think I am being rather unclear. Hope somebody could understand me and give me some opinions as of how could I do it if what I think is not feasible or some resource for me to research on. If don't understand, feel free to post and I will try my best to explain again.

Thanks.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
NOTSomebody is offline Offline
2 posts
since Oct 2008
Oct 31st, 2008
-1

Re: Please help, tracing app.

Are you building this application with standard Java SE or you using Java ME? From problem description it sound more like you using JSE.
As far as I'm aware touch screen control is available only under Java Microedition through Canvas class methods pointerPressed(int, int), pointerReleased(int,int) and pointerDragged(int, int) including methods for pointers functionality detection
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 871
Code tags enforcer
peter_budo is offline Offline
6,656 posts
since Dec 2004
Oct 31st, 2008
0

Re: Please help, tracing app.

Click to Expand / Collapse  Quote originally posted by peter_budo ...
Are you building this application with standard Java SE or you using Java ME? From problem description it sound more like you using JSE.
As far as I'm aware touch screen control is available only under Java Microedition through Canvas class methods pointerPressed(int, int), pointerReleased(int,int) and pointerDragged(int, int) including methods for pointers functionality detection
Thanks for your prompt reply. I am using JSE. Correct me if I am wrong, I did a search through google, the idea that I got was that touch screen basically equals to mouse movements hence say you touch the "start" button is equals to you click the "start" button using mouse. If that is the case, I think using JSE is possible using mousePressed, mouseReleased, mouseDragged methods.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
NOTSomebody is offline Offline
2 posts
since Oct 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: a program to draw a graph
Next Thread in Java Forum Timeline: Binary Search tree help in Java 98% complete





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC