FileDocCategorySizeDatePackage
Ch06_04.javaAPI DocExample2384Mon Nov 03 16:36:52 GMT 2003org.eclipsebook.ch06

Ch06_04

public class Ch06_04 extends JFrame
author
Steven Holzner To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Fields Summary
JRadioButton
b1
JRadioButton
b2
JRadioButton
b3
Constructors Summary
public Ch06_04()


	  
		super("Swing application");

		Container contentPane = getContentPane();
		contentPane.add(new Panel(), BorderLayout.CENTER);
	
Methods Summary
public static voidmain(java.lang.String[] args)

		final JFrame f = new Ch06_04();

		f.setBounds(100, 100, 300, 300);
		f.setVisible(true);
		f.setDefaultCloseOperation(DISPOSE_ON_CLOSE);
		
		f.addWindowListener(new WindowAdapter() {
			public void windowClosing(WindowEvent e) {
				System.exit(0);
			}
		});