/**
* Default constructor.
*/
protected PiGUI()
{
super("Pi calculator");
setSize(720, 540);
addWindowListener(new WindowAdapter()
{
public void windowClosing(WindowEvent windowEvent)
{
setVisible(false);
dispose();
System.exit(0);
}
});
setLayout(new BorderLayout());
this.statusLabel = new Label();
add(getContents(), BorderLayout.NORTH);
add(this.statusLabel, BorderLayout.SOUTH);
setVisible(true);
}
PiGUI.java 文件源码
java
阅读 33
收藏 0
点赞 0
评论 0
项目:aya-lang
作者:
评论列表
文章目录