|
|
@ -10,7 +10,7 @@ public class Transform2158 extends JFrame {
|
|
|
|
|
|
|
|
|
|
|
|
public Transform2158() {
|
|
|
|
public Transform2158() {
|
|
|
|
// 初始化界面
|
|
|
|
// 初始化界面
|
|
|
|
setTitle("进制转换工
|
|
|
|
setTitle("进制转换");
|
|
|
|
setSize(400, 300);
|
|
|
|
setSize(400, 300);
|
|
|
|
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
|
|
|
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
|
|
|
setLocationRelativeTo(null); // 居中显示
|
|
|
|
setLocationRelativeTo(null); // 居中显示
|
|
|
|