1

We developed a Swing GUI system running on PC, and the boss wants it to run on a special tablet PC too. Does anyone know what else we can do to achieve it? How to make a Swing GUI support touch operation?

The touch-support driver of the tablet PC is necessary, of course.

JosefAssad
  • 4,018
  • 28
  • 37
pianyao
  • 13
  • 3

1 Answers1

2

Most touch screens convert touches to mouse events. If yours does so as well you can simply use java.awt.event.MouseListener.

joe
  • 34,529
  • 29
  • 100
  • 137