problem while animation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pankajs
    New Member
    • Mar 2008
    • 36

    problem while animation

    hello freinds ! I m developing a game but I have a problem that when I click new game button(add by me) animation start but keylistener is not working ie when I
    press a key nothing happen
    also on clicking top right corner CLOSE button program does not terminate no effect on animation I inherit JPanel...
  • sukatoa
    Contributor
    • Nov 2007
    • 539

    #2
    Originally posted by pankajs
    hello freinds ! I m developing a game but I have a problem that when I click new game button(add by me) animation start but keylistener is not working ie when I
    press a key nothing happen
    also on clicking top right corner CLOSE button program does not terminate no effect on animation I inherit JPanel...
    You can read this.

    I've used Runnable overriding the run() method to interrupt the ProgressBar while it is still in progress...

    I hope it helps,
    Sukatoa...

    Comment

    • BigDaddyLH
      Recognized Expert Top Contributor
      • Dec 2007
      • 1216

      #3
      It's hard to guess what you may or may not have done from that description. If you want good help from this forum, post a SSCCE: http://mindprod.com/jgloss/sscce.html

      Comment

      Working...