Search:

Type: Posts; User: nivangerow

Search: Search took 0.13 seconds.

  1. Replies
    27
    Views
    4,712

    Re: Autofocus a JPanel

    Also what I dont get is that you say i should copy the tutorial and experiment with it and i would be a copy+paste programmer if I did the same with a solution from google. Im a beginner ok? Can you...
  2. Replies
    27
    Views
    4,712

    Re: Autofocus a JPanel

    If I do things over and over again i learn from them. Sorry i totally forgot to give you my code, anyways thanks for the help.
  3. Replies
    27
    Views
    4,712

    Re: Autofocus a JPanel

    I dont have the time to make a SSCCE and im only copying the solutions because I am relatively new to swing. And I learn from using those solutions on a daily basis. Thats how I learn, everyone...
  4. Replies
    27
    Views
    4,712

    Re: Autofocus a JPanel

    Im not a copy-paste programmer, I spent half a year learning the basics of java, and now I have started to learn swing and I am making my own game.
  5. Replies
    27
    Views
    4,712

    Re: Autofocus a JPanel

    No im not trolling. I just want to make my key listener Focus. And the key listener sits in my JPanel.
  6. Replies
    27
    Views
    4,712

    Re: Autofocus a JPanel

    Right. This is pretty much my problem: java - Obtaining focus on a JPanel - Stack Overflow
    and I will try some of the solutions that are in the comments on that page. If that doesnt work I will come...
  7. Replies
    27
    Views
    4,712

    Re: Autofocus a JPanel

    I cant find it in the tutorial though. Instead of giving me links, you could just tell me what to do if you know what I need.
  8. Replies
    27
    Views
    4,712

    Re: Autofocus a JPanel

    I looked at the links and tutorials. Its not what im looking for. I need the key listener to focus on the JPanel automatically, at the moment I have to press tab for it to focus. Can I give you a...
  9. Replies
    27
    Views
    4,712

    Re: Autofocus a JPanel

    What is a SSCCE? I followed the highlighted link but i still dont get it...
  10. Replies
    27
    Views
    4,712

    Re: Autofocus a JPanel

    Right, lets try again. I am trying to make the key listener in my main JPanel to focus the keyboard as soon as the program is run.
  11. Replies
    27
    Views
    4,712

    Re: Autofocus a JPanel

    Sorry, I will come back tomorrow, were eating dinner..
  12. Replies
    27
    Views
    4,712

    Re: Autofocus a JPanel

    I read your links and copegs suggestion didnt work.
  13. Replies
    27
    Views
    4,712

    Re: Autofocus a JPanel

    Because at the moment I have to press the tab button to focus on my JPanel.
  14. Replies
    27
    Views
    4,712

    Re: Autofocus a JPanel

    Focus so i can use KeyAdapter
  15. Replies
    27
    Views
    4,712

    Autofocus a JPanel

    I need to autofocus a JPanel in my main frame. How do I accomplish this?
Results 1 to 15 of 15