Wednesday, June 8, 2011

init() method

In the applet class, the first method that I created was the init() method, which means initialize. I was originally going to run with my QuadraticSolver class but I have reversed the thinking so that the Applet class depends on the QuadraticSolver class. I made my main method in the QuadraticSolver class as an accesor so I can call it in the init() method. This method sets the values for my paint method which I know is going to be extremely long.

No comments:

Post a Comment