Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JavaFX 2.0 + TUIO - Touchtable interaction

896398Oct 27 2011 — edited Nov 22 2011
Hi
I'm trying to get JavaFX running using the TUIO framework which gets user actions on a touchtable. The point is I just get the x an y coordinate - so I can't use a simple MouseEvent.
Does somebody have an idea to
1. get the UI Control or chart (and every single PieChart.Data node) by just knowing the x and y coordinate
2. simulate a "click"

I thought about creating a seperate framework which handles all coordinates of all UI Controls. Then I would check the x and y coordinate of a users touch with this framework to get the UI Control displayed on this position.
But I think there would be at least three problems:
1. simulate a real click on it
2. Two or more UI Controls could overlay each other, so it would be difficult to get the UI Control with the focus
3. Calculating the area for every PieChart.Data node would be difficult,too

So - I would be really pleased if someone would have an idea :)

Greetings
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 20 2011
Added on Oct 27 2011
3 comments
1,942 views