This may sound quite foolish but i am trying to creat a GUI with some buttons and a small text frame and want to use the buttons to do some small calculations in another file or class and am not really to sure on how to go about creating the two files or classes. Is there anywher i could get a template/framework does anyone have an idea where i can get the basic rules or instructions for doing this kind of thing.