Board index » jbuilder » Focusable JPanel how?

Focusable JPanel how?


2004-11-10 03:49:06 PM
jbuilder6
Hi,
How to make JPanel gain focus and make responsible on key events?
 
 

Re:Focusable JPanel how?

"druphel" < XXXX@XXXXX.COM >writes:
Quote
How to make JPanel gain focus and make responsible on key events?
Try requestFocus() - remember to call it after the component is
visible.