Re: JavaFX SWT and Swing-Interopt

2018-07-31 Thread Michael Paus
I did the test on a Mac. MacOS High Sierra OpenJDK12ea4 OpenJFX11ea20 (SDK) I just ran the code and repeated the steps given by Tom. * Bring up the DropDown-List * Bring up the custom color dialog * Click somewhere in the JFrame Michael Am 31.07.18 um 14:19 schrieb Kevin Rushforth: I ran the

Re: JavaFX SWT and Swing-Interopt

2018-07-31 Thread Michael Paus
Hi Tom I gave it a try with the latest OpenJDK12ea and OpenJFX11ea and I still see the same baviour which you described. Michael Am 31.07.18 um 13:08 schrieb Tom Schindl: Hi, I give it a try but from the bug description and discussion I would have assumed it deals with the opposite problems

Re: JavaFX SWT and Swing-Interopt

2018-07-31 Thread Tom Schindl
hi, yes and I can confirm that the date-picker issue is not that dramatic on Windows. If I modify my test case just a bit by opening my own stage with a parent-stage the z-order at least can also get messed up on windows. package test; import javax.swing.JFrame; import

Re: JavaFX SWT and Swing-Interopt

2018-07-31 Thread Kevin Rushforth
...there are no EA-Builds of Java8 available anymore (Looks like Oracle does not want people to test fixes for upcoming 8-update anymore) EA builds of JDK 8u192 were supposed to be published last week, but there was a glitch. I hope it will be fixed soon. Having said that, I see that the

Re: JavaFX SWT and Swing-Interopt

2018-07-31 Thread Kevin Rushforth
I ran the test program on Windows 7 using JDK-11+24 plus my local build of openjfx 11, and I can't reproduce the problem. I suspect that Prasanta is correct in that this was fixed for FX/Swing interop by JDK-8185634 (on the FX side) and JDK-8187803 (on the AWT side). I don't know why you and

Re: JavaFX SWT and Swing-Interopt

2018-07-31 Thread Kevin Rushforth
OK, I can reproduce it on Mac using JDK 11-ea and the latest jfx-dev. Can you file a bug? -- Kevin On 7/31/2018 5:51 AM, Tom Schindl wrote: Hi, I'm on Mac as well and just gave 8u181 a spin and see the same problem (beside others eg the DropDown popup does not move with window). Just to

Re: JavaFX SWT and Swing-Interopt

2018-07-31 Thread Tom Schindl
Hi, I give it a try but from the bug description and discussion I would have assumed it deals with the opposite problems (Opening a Swing-Dialog from an JavaFX-Application who uses Swing-Node). I also studied the code to see if how you make a JavaFX-Stage having a different owner but I could

Re: JavaFX SWT and Swing-Interopt

2018-07-31 Thread Tom Schindl
Hi, I'm on Mac as well and just gave 8u181 a spin and see the same problem (beside others eg the DropDown popup does not move with window). Just to make sure: It is curcial to not only bring up the DropDown-List but also open the Dialog-Window with the color-spectrum, ... . Tom On 31.07.18

Re: JavaFX SWT and Swing-Interopt

2018-07-31 Thread Tom Schindl
Hi, I could not resist giving my idea a try and passing the native-pointer from SWT completely through JavaFX and using it as a parent on Windows created by FX. Although my C/Objective-C knowledge is next to useless it works and now Popup-Windows (eg created by a DropDown are a Native-Child of

JavaFX SWT and Swing-Interopt

2018-07-31 Thread Tom Schindl
Hi, In one of our customers application we have major problems when embedding JavaFX into SWT (but from my tests the situation is equal for Swing). In the end all windows (most commonly popup-windows) are affected because they don't have a parent-window assigned and so they can be hidden by the

Re: JavaFX SWT and Swing-Interopt

2018-07-31 Thread Prasanta Sadhukhan
Hi Tom, I am not able to see the problem in latest workspace. I believe this issue is already fixed by JDK-8185634. Regards Prasanta On 7/31/2018 1:16 PM, Tom Schindl wrote: Hi, In one of our customers application we have major problems when embedding JavaFX into SWT (but from my tests the