Getting java.lang.Error while moving mouse over a Swing control (JComboBox)
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ajith_Kumar
Posted On:   Monday, July 11, 2005 10:16 AM

I have a tomcat based web application. It is mainly applet oriented. The problem is with one of my applet which is having combo box placed in it (JComboBox). ToolTip text is set on that control. While running the application and moving the mouse over the control, I am getting the following error stack. java.lang.Error: Destination component not connected to component tree hierarchy at javax.swing.SwingUtilities.convertPoint(Unknown Source) at javax.swing.ToolTipManager.mouseExited(Unknown Source) at java.awt.AWTEventMulticaster.mouseExited(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Un   More>>

I have a tomcat based web application. It is mainly applet oriented.
The problem is with one of my applet which is having combo box placed in it (JComboBox). ToolTip text is set on that control. While running the application and moving the mouse over the control, I am getting the following error stack.

java.lang.Error: Destination component not connected to component tree hierarchy
at javax.swing.SwingUtilities.convertPoint(Unknown Source)
at javax.swing.ToolTipManager.mouseExited(Unknown Source)
at java.awt.AWTEventMulticaster.mouseExited(Unknown Source)
at java.awt.Component.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 java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.trackMouseEnterExit(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.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



Is it a bug with Java itself or I have to do anything to fix this.

Please help me out in this issue ???

   <<Less

Re: Getting java.lang.Error while moving mouse over a Swing control (JComboBox)

Posted By:   Almagest_FUTT  
Posted On:   Monday, July 11, 2005 01:13 PM

Could it be that you are removing something out of your applet at some time ?

If not, you should post the code you use for building the UI. I'd rather think the error is somewhere there (i find the error message heuristic enough).
About | Sitemap | Contact