Erro "AWT-EventQueue-0"

2 respostas
L

aee… po alguem sabe oq eh esse erro ?
eu tenho um painel qnd eu clico nele ele da isso:

Exception in thread “AWT-EventQueue-0” java.lang.NullPointerException

at source.GerDesTriangulo.setPonto1Triangulo(GerDesTriangulo.java:18)

at GUI.PainelTriangulo.mouseClicked(PainelTriangulo.java:67)

at java.awt.Component.processMouseEvent(Unknown Source)

at javax.swing.JComponent.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.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(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)

alguem sabe oq pode ser ??

2 Respostas

Kknd

Você está tentando utilizar um objeto ainda não instanciado.

L

hm… vo da uma olhada aqui entao valeu

Criado 6 de maio de 2007
Ultima resposta 6 de mai. de 2007
Respostas 2
Participantes 2