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

    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
    Location
    Washington, DC
    Posts
    4,041
    Rep Power
    10

    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 - Play indie games, learn from game tutorials and source code, upload your own games!

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

Similar Threads

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