da main method is the method that kinda..err..lets just say govern da process of ur class, ur primary class that is. If its an application, it must have a main method, like this
class TextThree extends Canvas {
public static void main(String[] args){
.......
}
}
if its an applet, then u might not have to insert da main method, but rather da init method
btw, if a program managed to be compiled perfectly, it doesnt always means that it's gonna run right
i recommend reading bout java OOP logic from any of da links u can find, no matter how good a code was made, if da foundation are crumbling, da program wont have a safe path at all
hope this helps ZAX
