void jMenuItem4_actionPerformed(ActionEvent e) {
new ShowCurrentFrame(currentFileName);
currentFileName.setVisible(true);
}
new ShowCurrentFrame(currentFileName);
currentFileName.setVisible(true);
}
解决方案 »
- 图片格式怎么转啊
- java泛型无界通配符和原生的区别什么?
- 求助:Error opening egistrykey'software\javasoft\java runtime enviro
- CSDN有一个严重得BUG!!!
- 大家帮我看看程序那儿错了??
- println和print的问题!
- 准备用java写一个图片处理小程序,各位有什么好建议么?
- 这个问题想不通
- overriding & overloading的问题
- 请问那有下jdk、jswdk for Red Hat Linux7.2的
- Re:如何删除下拉列表中的一个项目信息?
- maximum number of processes (59) exceeded
new ShowCurrentFrame(currentFileName);
最好在加个,不然frame大小不合适
currentFileName.pack();
currentFileName.setVisible(true);
}
我觉得应该再加个
currentFileName.setsize(400,300);