i am very confuse about java applets so please solve my questions
my question is that when we write applet then we write only methods defination not method calling so i am confuse about this that who call the methods of applets.and second is that we call the methods of other class by two ways first with object and second with class name but in applets we call some methods without object and without class name for example
setForeground(Color.cyan);
setBackground(Color.red);
these methods call without anything so how should be calling methods with this syntax.
my english is very poor so plz ignore my mistakes.
please release my confusion