Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problems with event-dispatching thread in AWT  RSS feed

 
jimi lambrou
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to get something done within a AWTEvent (actionPerformed). In my environment I can't use swing so I have to solve this problem in AWT (jdk-1_1_8_006). This something is running a new frame (screen) with a lots of new AWTEvents and also a database interaction. I seem to have problems with painting the new screen within the first AWTEvent. I belief it has something to do with the event-dispatching thread, but I could belief my that bij second screen couldn't be painted even when I had started a new JVM to handle this screen (Runtime.exec("java newScreen")).
How can I bypass this event-dispatching thread when I'm already in it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!