FileDocCategorySizeDatePackage
GUI.javaAPI DocExample476Tue Feb 12 13:34:00 GMT 2002myprojects.eventtest

GUI

public class GUI extends JFrame implements ActionListener

Fields Summary
JLabel
l1
Constructors Summary
public GUI()

	
	
	
	
	  
		Container pane = getContentPane();
		JButton but1 = new JButton("Hello");
		
		pane.add(but1);
		pane.add(l1);
		but1.addActionListener(this);
		

	
Methods Summary
public voidactionPerformed(java.awt.event.ActionEvent ae)

		
	System.exit(0);