Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

AWTThread actionPerformed newThread  RSS feed

Oczek Oczkowy
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i have just changed my cod but i have new problem now:

so when i press the button then in actionpervormed i run simpleAnimation.start(); but animation is starting after actionPerformed finish. it looks like one thread is executing actionPerformed and animation but simpleAnimation class should be execut by diferent thread. so what is wrong. why animation is not executing by other thread ?
thanks for help
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!