【发布时间】:2012-04-20 06:06:11
【问题描述】:
实际上,我想在 JDesktopPane 的中心显示 JinternalFrame,我在 Jframes 中使用这种方法,但它不起作用:
Extraction ex=new Extraction();//Extraction is the name of the JintenalFrame
jDesktopPane1.add(ex);
ex.setLocationRelativeTo(this);
ex.setVisible(true);
所以我问是否有另一种方法,以便我可以在 JdesktoPane 的中心显示 JinternalFrame。 谢谢
【问题讨论】:
-
“其实我想..” 我想与会拼写所有字母的人通信,例如“想要”。 下一个!
标签: java swing jframe jinternalframe