NetBeans
主窗体--设计--JFrame--属性--代码--生成中心
生成的代码是:
private void initComponents() {
//……
setLocationRelativeTo(null);
}
NetBeans
主窗体--设计--JFrame--属性--代码--生成中心
生成的代码是:
private void initComponents() {
//……
setLocationRelativeTo(null);
}