Is there a Java API for touching devices such as tablets?

↘锁芯ラ 提交于 2019-11-27 05:44:37

问题


I'm a java developer and I love this techonology. However, in my advisor next research we are going to use extensively touch-screen devices on Windows. This is a problem for me, because I'm used to programming on Linux and with Java.

The question is, is there an API for Java for touchscreen devices? If yes, is this API good/mature? The need for a Java API is not only because I love Java but because I don't know how to program specifically to Windows, that is, I've never used Win32 or .NET. If there isn't is there something available for Mono? I hate to exclude platforms.


回答1:


Gosh, if you really want to offer a bounty on a question that can be answered in 6 seconds using google:

  • https://sites.google.com/site/gmitresearch/mt4j/mt4j-basics
  • http://code.google.com/p/sparsh-ui/
  • http://developers.sun.com/learning/javaoneonline/2008/pdf/TS-6127.pdf
  • How to develop multi-touch applications in Java?



回答2:


This is an old question but i find it may still be useful. Java Swing does not have native support for touch-events. However, Java FX does. Java FX is already integrated in Java SE 7 and 8 and could be installed on Java SE 6. See this article from Oracle



来源:https://stackoverflow.com/questions/4456961/is-there-a-java-api-for-touching-devices-such-as-tablets

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!