Strange behavior of Tooltip when used with JComponent with in Applet

2005-08-11 Thread ajith.skumar

I have a problem with a JComboBox placed in an applet which is having a
ToolTip text set on it. While moving the mouse over the ComboBox I am
getting the following error stack in the Java Console. 



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



This is not happening regularly. Is it a bug with Java?



JDK used: J2SDK 1.4.2_02

Servlet Engine: Tomcat 4.1.29

Web Server:  Apache 2.0.43



Please help me out with your suggestions / comments.



Thanks in Advance.

Ajith











Confidentiality Notice

The information contained in this electronic message and any attachments to 
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.

Re: Strange behavior of Tooltip when used with JComponent with in Applet

2005-08-11 Thread Brian Bonner

This doesn't sound like a tomcat question--or am I missing something?

Brian



[EMAIL PROTECTED] wrote:


I have a problem with a JComboBox placed in an applet which is having a
ToolTip text set on it. While moving the mouse over the ComboBox I am
getting the following error stack in the Java Console. 






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



This is not happening regularly. Is it a bug with Java?




JDK used: J2SDK 1.4.2_02

Servlet Engine: Tomcat 4.1.29

Web Server:  Apache 2.0.43




Please help me out with your suggestions / comments.




Thanks in Advance.

Ajith














Confidentiality Notice


The information contained in this electronic message and any attachments to 
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or 
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL 
PROTECTED] immediately
and destroy all copies of this message and any attachments.
 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]