Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8118441

JFXPanel ComboBox item list not moved/closed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • fx2.0.2
    • javafx
    • None
    • Linux

      java version "1.7.0_06"
      Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
      Java HotSpot(TM) Server VM (build 23.2-b09, mixed mode)

      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?

            anthony Anthony Petrov (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: