Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problems when lightweight component is removed

0 views
Skip to first unread message

f...@golum.inforg.uniovi.es

unread,
Jun 26, 1997, 3:00:00 AM6/26/97
to

Hello all.

I add a lightweight component in a Panel, it works fine. The problems
arrive when I remove this lightweight component from Panel.
The java console fills with this message:

"Exception occurred during event dispatching:
java.lang.NullPointerException
at
java.awt.LightweightDispatcher.getTranslatedPoint(Container.java:1418)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:1400)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:1321)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:1246)
at java.awt.Container.dispatchEventImpl(Container.java:824)
at java.awt.Component.dispatchEvent(Component.java:1382)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:63)"

Can somebody help me?

Thanks in advance.


-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet

0 new messages