Results 1 to 3 of 3
  1. #1
    christopherx is offline Member
    Join Date
    Oct 2011
    Rep Power

    Default Thread Disabling Key Listener

    Hi. Basically, I've added my key listener to a JFrame. In that JFrame, I have a button that starts a thread, called "ball listener". That thread is kept alive by what is essentially an infinite loop, so it's constantly going. However , when the ball listener thread starts, the key listener stops. Any ideas?

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Washington, DC
    Rep Power

    Default Re: Thread Disabling Key Listener

    You're going to have to post an SSCCE that demonstrates exactly what you're doing.
    How to Ask Questions the Smart Way
    Static Void Games - GameDev tutorials, free Java and JavaScript hosting!
    Static Void Games forum - Come say hello!

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

Similar Threads

  1. Replies: 2
    Last Post: 12-11-2011, 10:44 PM
  2. How to close this thread? (Socket listener)
    By zardos in forum New To Java
    Replies: 5
    Last Post: 03-02-2011, 10:27 PM
  3. Disabling a JPanel
    By Esteban in forum AWT / Swing
    Replies: 5
    Last Post: 11-28-2010, 09:40 PM
  4. Disabling Buttons
    By superpala in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 07-26-2010, 10:00 PM
  5. Disabling a button at EOF
    By dbashby in forum New To Java
    Replies: 1
    Last Post: 03-10-2009, 02:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts