Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.08 seconds.

  1. Replies
    27
    Views
    4,671

    Re: Autofocus a JPanel

    There's a difference between reading through a tutorial and then playing with the examples and simply copying and pasting random lines you find on Stack Overflow and hoping for the best.

    I could...
  2. Replies
    27
    Views
    4,671

    Re: Autofocus a JPanel

    I'm not offended, I'm just pointing out that your approach makes it difficult to help you. It's not a ridiculous request to ask you to provide some example code that demonstrates what you're talking...
  3. Replies
    27
    Views
    4,671

    Re: Autofocus a JPanel

    You're copying and pasting partial solutions you find on the internet without trying to understand them so you can avoid reading through a simple tutorial. That's a copy-paste programmer. You were...
  4. Replies
    27
    Views
    4,671

    Re: Autofocus a JPanel

    Sigh. Gotta love copy-paste programmers...
  5. Replies
    27
    Views
    4,671

    Re: Autofocus a JPanel

    Stop trying to "find" it and just read the tutorials. Do the examples, and play with them to see what the different methods do. And without an SSCCE, I can't even tell you what to do even if I wanted...
  6. Replies
    27
    Views
    4,671

    Re: Autofocus a JPanel

    And what did you try from the tutorials? What happened when you tried copeg's suggestion? Saying "it's not what I'm looking for" when in fact, it's EXACTLY what you're looking for if you would just...
  7. Replies
    27
    Views
    4,671

    Re: Autofocus a JPanel

    It's a Short, Self-Contained, Compilable Example. That means it contains just enough code to demonstrate the problem- no extra stuff. But it's still compilable, so we can copy and paste it into our...
  8. Replies
    27
    Views
    4,671

    Re: Autofocus a JPanel

    I gave you two links that should help you with that, and copeg very kindly gave you a suggestion. If you want help, we need more information than "that didn't work". What exactly did you try? Did you...
  9. Replies
    27
    Views
    4,671

    Re: Autofocus a JPanel

    Wow, you're a fast reader! Then I guess it's time to provide an SSCCE that demonstrates the problem and what you tried from those tutorials. Also, please read the link in my signature on asking...
  10. Replies
    27
    Views
    4,671

    Re: Autofocus a JPanel

    What happened when you tried copeg's suggestion? Did you read the links I posted?
  11. Replies
    27
    Views
    4,671

    Re: Autofocus a JPanel

    More recommended reading: How to Use the Focus Subsystem (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Other Swing Features)
  12. Replies
    27
    Views
    4,671

    Re: Autofocus a JPanel

    I suggest you check out the API for useful methods and give some of them a try to see what they do: JPanel (Java Platform SE 6)
Results 1 to 12 of 12