Activating touch-enabled controls in JavaFX

前端 未结 1 1115
清酒与你
清酒与你 2021-01-21 21:37

I want to use the touch-enabled controls described in http://docs.oracle.com/javase/8/javafx/user-interface-tutorial/embed.htm. I\'m building my application on a Windows 8

1条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-21 22:14

    There should not be a need to enable these capabilities, but JavaFX decides by itself if they are supported. You can query the capabilities programmatically, e.g. by PlatformImpl.isSupported(ConditionalFeature.INPUT_TOUCH).

    0 讨论(0)
提交回复
热议问题