Jump to content
xisto Community
Sign in to follow this  
sonesay

Java Applet Differences between Build/* and Dist/*.jar

Recommended Posts

Hello all, I would like to find out what are the differences in the files generated in the "Build" and "Dist" folder of netbean projects. I have attached an image screen shot of the folder tree.

IndexAppletStartView.html

<HTML><HEAD>   <TITLE>Team Yellow</TITLE>      </HEAD><BODY><!--*** GENERATED applet HTML launcher - DO NOT EDIT IN 'BUILD' FOLDER ***If you need to modify this HTML launcher file (e.g., to add applet parameters), copy it to where your applet class is found in the SRC folder. If you do this, the IDE will use it when you run or debug the applet.Tip: To exclude an HTML launcher from the JAR file, use exclusion filters in the Packaging page in the Project Properties dialog.For more information see the online help.--><APPLET codebase="classes" code="View/Index/IndexAppletStartView.class" width=800 height=600archive="lib/derbyclient.jar"></APPLET></BODY></HTML>
I am able to run the applet with the IndexAppletStartView.html file but I am confused as I've seen other articles online dealing with applets and mentoning you have to include the .jar file in the applet tags for it to run. As you can see on the screen shot the Mapping.jar is also produced in the "Dist" folder. Why is it then that netbeans seperates them and does not include it in the Build folder.

I have had a look in the Mapping.jar file and it resembles exactly the files in "Build" without the IndexAppletStartView.html file. If this is what you are suppose to use to run the applet through the browser then how do you do it?

Cheers
Sone

post-45102-1243744380_thumb.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.