Page 2 of 2 FirstFirst 12
Results 21 to 22 of 22
Like Tree1Likes

Thread: Issue with adding a JPanel and add a mouselistener to it

  1. #21
    Join Date
    Aug 2011
    Location
    Pretoria, South Africa
    Posts
    27
    Blog Entries
    3
    Rep Power
    0

    Default Re: Issue with adding a JPanel and add a mouselistener to it

    that's the problem with copying code... you don't learn anything and you don't understand what or why something happened, at the end of the day there is going to be more questions than salutations.

  2. #22
    gargamel7 is offline Member
    Join Date
    Oct 2011
    Posts
    9
    Rep Power
    0

    Default Re: Issue with adding a JPanel and add a mouselistener to it

    What do you mean DuvanSlabbert? I´m not copying it to use right off. I saved it to see how things were programmed and to learn from it; what I could have made different. But my question is still there: how to make the keylistener have the focus? If I get advice of how to solve it I can use it in the code I posted in my "SSCCE" since the scenario still is the same no matter if i use Fubarable´s code replaced with a keylistener or my own code.
    Last edited by gargamel7; 10-09-2011 at 10:32 PM.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. extending JPanel issue
    By p.pavlov in forum Java 2D
    Replies: 3
    Last Post: 04-29-2011, 02:27 PM
  2. Adding a jpanel to a customized Jpanel Class
    By trishtren in forum AWT / Swing
    Replies: 7
    Last Post: 04-05-2011, 07:52 PM
  3. Adding Jpanel ontop of another Jpanel
    By Manfizy in forum AWT / Swing
    Replies: 4
    Last Post: 03-05-2011, 11:34 PM
  4. JPanel/JScrollPane issue
    By Moncleared in forum New To Java
    Replies: 1
    Last Post: 09-23-2010, 05:02 AM
  5. Replies: 1
    Last Post: 05-09-2010, 07:34 PM

Tags for this Thread

Posting Permissions

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