E
epicwinter
I am doing a lot of work with a JInternalFrame based gui. I have one
desktoppane and hundreds of possible JInternalFrames that can be opened
and closed within it. There are often layers of JInternalFrames sitting
on top of each other, many are derived from each other. My problem is
that when a JInternalFrame is disposed or hidden then the
JInternalFrame below it is visible but it does not automatically gain
focus. My application is very keyboard friendly and enables the user to
do most things by typing and hotkeys. But when a JInternalFrame closes
and then nothing has focus they have to take their mouse and manual
click on it before they can start typing again.
So I am wondering if there is a reasonable way to manage it so when a
jinternalframe is closed the layer beneath automatically gains focus?
thanks
ryan
desktoppane and hundreds of possible JInternalFrames that can be opened
and closed within it. There are often layers of JInternalFrames sitting
on top of each other, many are derived from each other. My problem is
that when a JInternalFrame is disposed or hidden then the
JInternalFrame below it is visible but it does not automatically gain
focus. My application is very keyboard friendly and enables the user to
do most things by typing and hotkeys. But when a JInternalFrame closes
and then nothing has focus they have to take their mouse and manual
click on it before they can start typing again.
So I am wondering if there is a reasonable way to manage it so when a
jinternalframe is closed the layer beneath automatically gains focus?
thanks
ryan