not so simple question about swing?

Respected Members,

In swing if we bind some event to a component or any container for example if I want to bind an event from my JFrame tha it is necessary that the focus should be set on the JFrame while its running, if the focus is not set than the event will not be fired, is it some way that I set my JFrame as setVisible false but still programitically set the focus by setFocusable(true) or by some other means,now my frame is not visible but since focus has been set from within the program so now will the event be fired.

IF NOT than is there any way in swing that my frame is not visible on the screen but still it fires the events on some key stroke.Please give some suggestions and please help me in finding some solution.

Thanking You,

Taqi Raza.

[789 byte] By [taqi10a] at [2007-11-27 11:31:06]
# 1

Only visible frames that currently have focus will receive events.

camickra at 2007-7-29 16:37:45 > top of Java-index,Desktop,Core GUI APIs...