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