The Add Contents to JAR dialog box enables you to add individual files or
whole directories to your .jar file.
Click Browse to select the root directory of the files and directories
that you want to add. For example, if your files are part of a package called
account and your directory structure looks like:
examples
|
account
|
MyAccount.class
then choose examples as your root directory.
Select the directory or file that you want to add from the root
directory structure. If you chose examples in the previous
step, all of the files and directories contained in examples
are displayed in the root directory structure.
Click Add to add the selected directory or file to add it to
the .jar file. If you chose examples as your root
directory and added MyAccount.class to the .jar
file, account/MyAccount.html or account\MyAccount.html
should appear in the lower text field.