Focusing a JPanel?

Discussion in 'Java' started by Ryan Stewart, Dec 4, 2003.

  1. Ryan Stewart

    Ryan Stewart Guest

    Is there a way to give a JPanel focus on a mouse click besides explicitly
    saying "panel.requestFocus()"? I tried "panel.setFocusable(true)", but it
    had no discernable effect. Using J2SE 1.4.2.

    --
    Ryan Stewart, A1C USAF
    805 CSPTS/SCBE
    Ryan Stewart, Dec 4, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steven Zilberman

    focusing on a textbox

    Steven Zilberman, Jul 17, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    524
    Chris R. Timmons
    Jul 17, 2003
  2. Andreas Beresko

    Add a JPanel to a JPanel...

    Andreas Beresko, Jul 14, 2004, in forum: Java
    Replies:
    6
    Views:
    26,980
  3. problem child

    focusing a spawned application

    problem child, Oct 9, 2004, in forum: Python
    Replies:
    0
    Views:
    254
    problem child
    Oct 9, 2004
  4. Raphael Jolivet

    [JPanel] Drop Down JPanel

    Raphael Jolivet, Jul 18, 2008, in forum: Java
    Replies:
    1
    Views:
    1,518
    John B. Matthews
    Jul 18, 2008
  5. t1m1976
    Replies:
    1
    Views:
    2,406
    t1m1976
    Nov 7, 2010
Loading...

Share This Page