Add Contents to JAR

The Add Contents to JAR dialog box enables you to add individual files or whole directories to your .jar file.
  1. 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.
  2. 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.
  3. 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.
  4. Click OK.
To remove a file or directory from the .jar file, select its entry from the field in the 'Files to be Added' section of the dialog box and click Remove.
Copyright 1999, 2000 Sun Microsystems, Inc. All Rights Reserved.