|
You have two applet classes. Do you have the HTML that you use to load them into a browser and execute them?
Have you read about how applets and browser's communicate? There are some standard methods in the applet that the browser calls. I do NOT see them in your code. Go read about applets and browsers for info on how to code applets.
To debug your program add some println() statements to the code to show where the execution flow is going and what the values of the variables are.
|