I'm using netbeans for developing my japplet...I can able to run and built my file(just one file in my project)..But when i run my applet its saying that main class not found...I want to deploy my applet...Help me...
Netbeans is really meant for deploying applets, it's mostly for development. You would deploy the applet by copying the HTML file containing the applet tag along with the jar (or class) files to a directory on a web server (or servlet container). What does this directory on the server look like, meaning what files does it contain, and what is the applet tag you're using?
Ping & DNS - updated with new look and Ping home screen widget
Joined: Sep 18, 2007
I couldn't able to run my japplet outside the netbeans...But it runs well in IDE
Joined: Mar 22, 2005
I see. Well, that's an important step to go through when learning about applets, so you should set up an HTML file containing an applet tag that can run your applet in a browser, outside of any IDE. Here is a detailed description of what an applet tag looks like. It could be as simple as what's described in the section "Using the APPLET Tag". If NetBeans created a jar file containing all the classes you will also need an archive attribute in the applet tag, as described in the section "Combining an Applet's Files into a Single File".