📜  jframe centerlaized - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:29.796000             🧑  作者: Mango

代码示例1
frame.pack();
frame.setLocationRelativeTo(null);
frame.setVisible(true);