0

I have recently installed JDK 1.6 update 43 on my machine .Since then, whenever I try to run the event handling programs, I encounter a problem, which says Exception in thread "AWT-EventQueue-0"

Which thread does it points to?

2
  • The full stacktrace ? Commented Apr 29, 2013 at 6:58
  • i hope This link will give you the solution[check this link][1] [1]: stackoverflow.com/questions/5307283/… Commented Apr 29, 2013 at 7:06

2 Answers 2

2

That's the AWT Event Dispatch Thread (EDT). Code involving AWT or Swing should be run on that thread. This is the thread you'll be on when in you main (running in the "main" thread) you typically call java.awt.EventQueue.invokeLater.

Sign up to request clarification or add additional context in comments.

Comments

0

Look at your stacktrace. At some point you will find some entry which is from your own code. Maybe a null pointer exception or similar. This is where you must look at.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.