you should be able to add a
public void main( ) {
...
...
}
just before the last bracket so that it is still apart of the class Applet you are using but you already have an init( ) and the main goes below that cause that is the first thing that java will look at.
Jason