Reputation: 73
I have four classes of Java in Netbeans IDE and one of them contains the main
method. I want to use them as applets. How do I do that?
Upvotes: 0
Views: 74
Reputation: 6322
The quick and short answer, you need to either extend the Applet class or JApplet.
The long answer, read this: http://docs.oracle.com/javase/tutorial/deployment/applet/getStarted.html
Upvotes: 1
Reputation: 5157
You need to extend Applet class and need to implement the methods that's required for the Applet class.
Upvotes: 1