[BLUEJ-887] IllegalStateException is fired when an item in the package manager is right clicked
Only if the window was not the top one.
Exception in thread "JavaFX Application Thread" java.lang.IllegalStateException: The window must be focused when calling grabFocus()
at com.sun.glass.ui.Window.grabFocus(Window.java:800)
at com.sun.javafx.tk.quantum.WindowStage.grabFocus(WindowStage.java:809)
at javafx.embed.swing.SwingNodeSwingNodeContent.lambda
focusGrabbed$36(SwingNode.java:739)
at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
Issue metadata
- Issue type: Bug
- Priority: Medium