FileDocCategorySizeDatePackage
AllClasses.javaAPI DocExample850Sun Aug 24 08:31:04 BST 2003None

AllClasses

public class AllClasses extends Object

Fields Summary
Constructors Summary
Methods Summary
public voidgetResults()

		JButton b = new JButton("Press me");
		b.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent evt) {
				Data loc = new Data();
				loc.x = ((Component)evt.getSource()).getX();
				loc.x = ((Component)evt.getSource()).getY();
				System.out.println("Thanks for pressing me");
			}
		});