构建最基本一个程序窗口

public class JRadioButtonTest {
	
	
	public JRadioButtonTest() {
		JFrame f = new JFrame("程序窗口");//创建一个JFrame窗口
		f.setVisible(true);//这句必须要有,否则无法显示窗口
		
	}
	public static void main(String[] args) {
		new JRadioButtonTest();
	}

}

猜你喜欢

转载自vaxvall.iteye.com/blog/2409574
今日推荐