We are in the process of moving this application into the openjfx repository.
On Jul 27, 2014, at 1:03 PM, Seeon Birger <seeon.bir...@oracle.com> wrote: > You can use this one which is more suitable for testing multi-touch: > rt-closed/toys/HelloWorld/src/helloworld/HelloMultitouch.java > > Also note that if using Monocle you'll have to apply the patch referenced in > this JIRA: > RT-37950 - Wrong touch coordinates for a window not at the origin (0,0) > > > Regards, > Seeon > > > > -----Original Message----- > From: Lisa Selle > Sent: Friday, 25 July 2014 18:43 > To: Prasant J > Cc: openjfx-dev@openjdk.java.net > Subject: Re: JavaFX embedded (jre 8u6): touch problem (malformed multi touch > event) > > Daniel, > > Do you have any other suggestions for apps that we know handle multitouch > correctly that Prasant could use to determine if his multitouch problem is in > the platform or in his app? > > Thanks, > > Lisa > On 7/25/2014 11:42 AM, Lisa Selle wrote: >> rt//apps/toys/Hello/ has HelloGestures which uses multitouch gestures. >> I'm not aware of any others, but maybe someone else on the list has >> some input there? I will inquire internally also. >> >> Thanks, >> >> Lisa >> On 7/25/2014 11:20 AM, Prasant J wrote: >>> Hi Lisa, >>> >>> Can you please point out to me a javafx application that can help me >>> test my multi touch? >>> >>> I want to rule out my application out of my multi touch test, so a >>> standard multi touch test will be of help to me. >>> >>> Regards, Prasant >>> >>> >>> On Fri, Jul 25, 2014 at 7:47 PM, Lisa Selle <lisa.se...@oracle.com> >>> wrote: >>>> On 7/25/2014 10:06 AM, Prasant J wrote: >>>>> On Wed, Jul 23, 2014 at 6:36 PM, Lisa Selle <lisa.se...@oracle.com> >>>>> wrote: >>>>>> Hi Prasant, >>>>>> >>>>>> This looks suspiciously related to >>>>>> https://javafx-jira.kenai.com/browse/RT-34296. If so, this bug >>>>>> *should* >>>>>> be >>>>>> fixed in Monocle but it is not (and will not be) fixed in lens. >>>>>> >>>>> Thanks Lisa for pointing that out. >>>>> First I tried to build the openjfx 8u6 (you pasted a link in >>>>> another >>>>> post) with the patch someone posted in the RT-34296 jira post. >>>>> >>>>> The patch had to be manually applied because it was created from a >>>>> different changeset. Anyway, I was able to apply the patch and >>>>> cross build successfully. However, only one touch was working. >>>>> Second touch is not working (I could not figure out). The single >>>>> touch is also sending two events and my application has different >>>>> behaviour for one event and two events. So, I abandoned this idea >>>>> and I;m building the latest javafx. >>>>> >>>>>> I believe you are building openJFX, correct? If you can try a >>>>>> recent build with the latest Monocle code (if you are building >>>>>> from OpenJFX, monocle is now the default) the problem should be >>>>>> resolved. Please let us know if that's not the case. >>>>>> >>>>> I was able to build from 8u-dev/rt (tag: 8u20-b23). However my >>>>> application is recognizing the touch only on the main window. I >>>>> have multi-touch in the pop-up window where even single touch in >>>>> not working from some reason. >>>>> >>>>> Whenever I touch to bring up the pop-up window I get the following >>>>> error message on console: >>>>> >>>>> Exception in thread "JavaFX Application Thread" >>>>> java.lang.InstantiationError: >>>>> com.sun.javafx.scene.traversal.TraversalEngine >>>>> at >>>>> com.sun.javafx.scene.control.skin.ScrollPaneSkin.initialize(ScrollP >>>>> aneSkin.java:242) >>>>> >>>>> at >>>>> com.sun.javafx.scene.control.skin.ScrollPaneSkin.<init>(ScrollPaneS >>>>> kin.java:130) >>>>> >>>>> at >>>>> javafx.scene.control.ScrollPane.createDefaultSkin(ScrollPane.java:579) >>>>> at >>>>> javafx.scene.control.Control.impl_processCSS(Control.java:878) >>>>> at javafx.scene.Parent.impl_processCSS(Parent.java:1267) >>>>> at javafx.scene.Parent.impl_processCSS(Parent.java:1267) >>>>> at javafx.scene.Parent.impl_processCSS(Parent.java:1267) >>>>> at javafx.scene.Node.processCSS(Node.java:8858) >>>>> at javafx.scene.Node.processCSS(Node.java:8851) >>>>> at javafx.scene.Node.processCSS(Node.java:8851) >>>>> at javafx.scene.Scene.doCSSPass(Scene.java:525) >>>>> at javafx.scene.Scene.access$3400(Scene.java:144) >>>>> at >>>>> javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2358) >>>>> at >>>>> com.sun.javafx.tk.Toolkit.lambda$runPulse$28(Toolkit.java:314) >>>>> at >>>>> com.sun.javafx.tk.Toolkit$$Lambda$354/20040469.run(Unknown >>>>> Source) >>>>> at java.security.AccessController.doPrivileged(Native >>>>> Method) >>>>> at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:313) >>>>> at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:340) >>>>> at >>>>> com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java: >>>>> 451) >>>>> >>>>> at >>>>> com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java: >>>>> 431) >>>>> >>>>> at >>>>> com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$363(Quan >>>>> tumToolkit.java:298) >>>>> >>>>> at >>>>> com.sun.javafx.tk.quantum.QuantumToolkit$$Lambda$71/28758344.run(Un >>>>> known >>>>> >>>>> Source) >>>>> at >>>>> com.sun.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcesso >>>>> r.java:77) >>>>> >>>>> at >>>>> com.sun.glass.ui.monocle.RunnableProcessor.run(RunnableProcessor.ja >>>>> va:47) >>>>> >>>>> at java.lang.Thread.run(Thread.java:745) >>>>> Dialog discovered: LayerSetupDialog >>>>> >>>>> To summarize, I have built latest javafx but cannot test my touch. >>>>> >>>>> Any suggestions? >>>> Hi Prasant, >>>> >>>> At this point we should open a jira to continue with this work. Can >>>> you please create a jira and include the build information, as well >>>> as the runtime you are using (what platform, what touch screen). If >>>> you can share the application you are using that would be helpful, >>>> I'm not sure what you are referring to by the main window and the >>>> popup window. If not, can you create a simple test case which >>>> demonstrates the problem? >>>> >>>> Thanks! >>>> >>>> Lisa >>>>> >>>>> >>>>> Regards, Prasant >>>> >> >