67,515
社区成员
发帖
与我相关
我的任务
分享
public class Confscreen extends JFrame{
public Confscreen(JFrame jf1) {
setVisible(true);
setPreferredSize(new Dimension(800,600));
setResizable(false);
setLocation(0,0); //A
setLocationRelativeTo(null); //B
.......
}
}