Olá lista...
Tenho uma classe extends Frame e no construtor desta classe eu adiciono itens em alguns objetos Choice. Ao abri-la com o metodo show, obtenho a mensagem de erro abaixo. Tenho componentes swing e AWT nesta classe. Pode ser este o problema?
 
Obrigada.
Ligia.
 
Exception occurred during event dispatching:
java.lang.Error: Destination component not connected to component tree hierarchy
        at javax.swing.SwingUtilities.convertPoint(SwingUtilities.java:98)
        at javax.swing.DefaultPopupFactory$JPanelPopup.convertParentLocationToScreen(DefaultPopupFactory.java:997)
        at javax.swing.DefaultPopupFactory$JPanelPopup.getBoundsOnScreen(DefaultPopupFactory.java:975)
        at javax.swing.ToolTipManager.mouseExited(ToolTipManager.java:487)
        at java.awt.Component.processMouseEvent(Component.java:3723)
        at java.awt.Component.processEvent(Component.java:3546)
        at java.awt.Container.processEvent(Container.java:1167)
        at java.awt.Component.dispatchEventImpl(Component.java:2595)
        at java.awt.Container.dispatchEventImpl(Container.java:1216)
        at java.awt.Component.dispatchEvent(Component.java:2499)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2458)
        at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:2306)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2196)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2132)
        at java.awt.Container.dispatchEventImpl(Container.java:1203)
        at java.awt.Window.dispatchEventImpl(Window.java:918)
        at java.awt.Component.dispatchEvent(Component.java:2499)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:336)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:134)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:96)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:88)

Responder a