如何用Java开发多点触控应用程序? [英] How to develop multi-touch applications in Java?

查看:166
本文介绍了如何用Java开发多点触控应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

预计多点触控界面变得越来越普遍的日子,Java中的库是否可用于开发触控应用程序?我正在寻找类似于MouseListener / MouseMotionListener / MouseWheelListener的接口。

Anticipating the day when multi-touch interfaces become more pervasive, are there libraries in Java that can be used for developing touch applications? I'm looking for interfaces similar to MouseListener / MouseMotionListener / MouseWheelListener.

推荐答案

MT4j项目拥有开发多点触控应用程序所需的一切在java中。
所有众所周知的多点触控手势都已经内置,可以像听取鼠标事件一样简单地访问
(例如:component.addGestureListener(..))。
它还具有硬件加速场景图,类似于JavaFX。
您甚至可以通过将一个或多个鼠标连接到您的机器来模拟多点触控输入。
请访问 http://www.mt4j.org

The MT4j project has everything you need to develop multitouch applications in java. All the well known multitouch gestures are already built in and can be accessed as simple as listening to mouse events (for example: component.addGestureListener(..)). It also features a hardware accelerated scene graph, similar to JavaFX. You can even simulate multitouch input by connecting one ore more mice to your machine. Check it out at http://www.mt4j.org

这篇关于如何用Java开发多点触控应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆