The ComboBox component selection list isn't moved with the JFrame containing the JFXPanel
If you add a JFXPanel with a ComboBox to a JFrame , when the ComboBox option list is show, you can move the JFrame and the option list keep in the same position.
If the JFrame is a JDialog when you close the JDIalog the option list is left behind
If you move mouse over the list NPE
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
at com.sun.javafx.tk.quantum.GlassScene.sceneChanged(GlassScene.java:269)
at com.sun.javafx.tk.quantum.ViewScene.sceneChanged(ViewScene.java:156)
at com.sun.javafx.tk.quantum.PopupScene.sceneChanged(PopupScene.java:30)
at com.sun.javafx.tk.quantum.GlassScene.entireSceneNeedsRepaint(GlassScene.java:141)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleViewEvent(GlassViewEventHandler.java:444)
at com.sun.glass.ui.View.handleViewEvent(View.java:511)
at com.sun.glass.ui.View.handleViewEvent(View.java:808)
at com.sun.glass.ui.View.notifyRepaint(View.java:867)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at com.sun.glass.ui.gtk.GtkApplication$3$1.run(GtkApplication.java:82)
at java.lang.Thread.run(Thread.java:722)
There is an attached test and screen captures that show the problem
Any ideas to workaround the issue?
If you add a JFXPanel with a ComboBox to a JFrame , when the ComboBox option list is show, you can move the JFrame and the option list keep in the same position.
If the JFrame is a JDialog when you close the JDIalog the option list is left behind
If you move mouse over the list NPE
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
at com.sun.javafx.tk.quantum.GlassScene.sceneChanged(GlassScene.java:269)
at com.sun.javafx.tk.quantum.ViewScene.sceneChanged(ViewScene.java:156)
at com.sun.javafx.tk.quantum.PopupScene.sceneChanged(PopupScene.java:30)
at com.sun.javafx.tk.quantum.GlassScene.entireSceneNeedsRepaint(GlassScene.java:141)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleViewEvent(GlassViewEventHandler.java:444)
at com.sun.glass.ui.View.handleViewEvent(View.java:511)
at com.sun.glass.ui.View.handleViewEvent(View.java:808)
at com.sun.glass.ui.View.notifyRepaint(View.java:867)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at com.sun.glass.ui.gtk.GtkApplication$3$1.run(GtkApplication.java:82)
at java.lang.Thread.run(Thread.java:722)
There is an attached test and screen captures that show the problem
Any ideas to workaround the issue?
- relates to
-
JDK-8088775 [SWT] implement FXCanvas.HostContainer.grab/ungrabFocus
-
- Open
-
-
JDK-8095591 ContextMenu (Popupmenu) doesn't get dismissed when clicking outside
-
- Closed
-