I am able to integrate JTextField with Xith but I am having a problem with JComboBox. I suspect this problem is related to the fact that JComboBox uses a popup window. Has anyone been able to successfully integrate JComboBox with Xith? Does anyone recognize the following error from previous experience?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
| Exception in thread "AWT-EventQueue-0" java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location at java.awt.Component.getLocationOnScreen_NoTreeLock(Unknown Source) at java.awt.Component.getLocationOnScreen(Unknown Source) at javax.swing.JPopupMenu.show(Unknown Source) at javax.swing.plaf.basic.BasicComboPopup.show(Unknown Source) at javax.swing.plaf.basic.BasicComboPopup.togglePopup(Unknown Source) at javax.swing.plaf.basic.BasicComboPopup$Handler.mousePressed(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at com.xith3d.userinterface.UIWindow.dispatchMouseEvent(Unknown Source) at com.xith3d.userinterface.UIWindow.dispatchMouseEvent(Unknown Source) at com.xith3d.userinterface.UIWindow.dispatchMouseEvent(Unknown Source) at com.xith3d.userinterface.UIWindow.dispatchEvent(Unknown Source) at com.xith3d.userinterface.UIWindowManager.processMouseEvent(Unknown Source) at com.xith3d.userinterface.UIWindowManager.processEvent(Unknown Source) at com.xith3d.userinterface.UIEventAdapter.mousePressed(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) |