#import <AppKit/AppKit.h>
#import "Controller.h"

@implementation Controller

- (void) buttonPressed:(id)sender
{
NSString *text;

	text = [NSString stringWithFormat:@"\"%@\" button pressed",[sender title]];

	[textField setStringValue:text];
}

- (id) window				{ return [textField window]; }

@end
