I want to set JDesktopPane as Accessible Parent to JInternal Frame. But JInternalFrame properties does not show JdesktopPane on accessible parent's list. My MDI application has JdesktopPane and Internal Frames load on top of JdesktopPane. I have problem with setting up Requestfocus to textfiled on InternalFrame at the form load, may be due to this parent issue. Can someone assist me Please. P.S : This is Java Swing Application. IDE- Netbeans
Asked
Active
Viewed 637 times
0
-
Pass the instance of the JDesktopPane to the JInternalFrames. – Gilbert Le Blanc Apr 07 '13 at 09:45
-
@Gilbert Le Blanc Thanx for your reply. But could you give me little more explanation how to do that. Please – amal Apr 07 '13 at 13:50
-
In the constructors of the classes you set the JInternalFrame as a variable (remember, composition over inheritance), you pass an instance of the JDesktopPane as a variable. – Gilbert Le Blanc Apr 08 '13 at 01:01