Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a Frame called frmAbout, I want to show it in a JInternalFrame in another Frame called frmMain, how can I do it?
I've tried this:
javax.swing.JInternalFrame f1 = new javax.swing.JInternalFrame("شاشة الموظفين", false);
f1.setBounds(0, 0, 500, 500);
f1.setVisible(true);
add(f1);

but it doesn't worked!
Posted
Comments
Ma'd Saeed 3-Jan-16 15:34pm    
In another way of ask: how can I show JFrame in another JFrame?
Richard MacCutchan 4-Jan-16 4:43am    
What does "it doesn't worked" mean?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900