The Build Applet Tab

Building your Applet:

This is where you decide how and where to build the button applet - by default this folder is named the same as your project and located in the 1 Cool Button Tool folder.

Getting your applet up and running on the Internet is easy. Just follow these simple steps:

  1. Enter the folder where you want to build the applet.

  2. Press the Build Applet button.

  3. Upload ALL the files in the Build Folder to your web server.

Enter the folder where you want to build the applet:

This specifies the folder on your local hard drive where the Button Applet will be built. This folder is known as the Build Folder. It defaults to a folder with the same name as your project located inside of your 1 Cool Button Tool folder.

1 Cool Button Tool will copy all the files necessary for running the button applet into the Build Folder, including:

All images and sound used Any .gif, .jpg and.au files you have used in your project.
BtnPlayer.cab Compressed 1CBT class file - used for Microsoft browsers (If you have selected to include content in archive, this will also contain all of your graphics and sounds)
BtnPlayer.class Uncompressed 1CBT Player - used only in older browsers
BtnPlayer.jar Compressed 1CBT class file - used for Netscape browsers (If you have selected to include content in archive, this will also contain all of your graphics and sounds)
projectname.bak Backup of the project file - by keeping this on the live server many people have been saved a re-build when their PC fails.
projectnameMap.jpg Automatically generated imagemap - used when people do not have a java-enabled browser (extremely rare these days)
projectname.html The HTML page used in when you Test in Browser - only displays the applet

At a minimum you need to put all the BtnPlayer files (class, cab and jar) and all of the images and sounds used in your java project on the live server in order for project to work.

After the applet has been built you will able to click on the Build Folder link - this will open the folder inside Windows explorer. You will need to upload ALL the files in this folder to your web server. Nothing further is necessary for the applet to run.

If you don't know how to upload files to your web server, contact your Internet Service Provider, or Network Administrator. Generally you will need an FTP client such as CuteFTP to upload files to your server.

Note:
Be aware that applets made with the unregistered version of 1 Cool Button Tool will display a large UNREGISTERED message when they are run over the Internet.

Automatically replace HTML code:

If this option is checked 1 Cool Button Tool will replace the <applet> tag in the specified file, every time you build the applet. This option is very handy if your applet is embedded in an existing page, and you want to make changes to your applet without having to copy/paste HTML code.

Note:
If an applet tag matching the current button applet cannot be found, an error message will be displayed and no HTML code will be replaced. If this occurs, please use the copy to clipboard button

Use <applet>/<object> Tag:

Use <applet> Tag:
Automatically converts the generated code to use the applet tag according to HTML Specs. (Deprecated in HTML 4.0 Specifications.)

Use <object> Tag:
Automatically converts the generated code to use the object tag according to HTML Specs. (Used in place of applet tag in HTML 4.0 Specifications.)

Generated HTML code:

This is the HTML code that describes the button project. The Java program reads this information, decodes it, and "plays" the button project inside the browser. A single BtnPlayer.class, .jar or .cab file may be shared by many button applets. Everything necessary to describe the button project is in the HTML code, not in the BtnPlayer.class file.

Copy HTML to Clipboard:

Copies the HTML code to the clipboard. This allows you to easily copy and paste a button applet into another HTML file.

Be aware that the HTML file you are pasting into must be in the same folder as the BtnPlayer.class file, unless you have specified a different CodeBase folder.

Note:
You should not modify any of the applet parameters in the HTML code. If you modify any part of the generated HTML code the applet may display a large UNREGISTERED message in the center of the applet when run over the Internet.

Applet Size:

This information box tells you the total size of the button applet in kilobytes (KB). That is, how much data will have to be downloaded to run the applet. The applet size may be different for Netscape Navigator and Internet Explorer because they use different compression technologies in their archive files. The applet size includes the HTML file, the archive file (.cab or .jar), any bitmap or sound files used by the applet.

Test Applet in Browser:

Runs the finished button applet in your default browser. The Test Applet button rebuilds the applet before running it.

Note:
You should close the browser after testing the applet because some browsers cache the applet in memory. This means that the next time you test the applet it will appear not to have changed. Shift-Reload on Netscape Navigator 3 (or later) will force the applet to be reloaded. Control-Refresh on Internet Explorer 4 (or later) will force the applet to be reloaded.

Build Applet:

Copies all the files necessary for running the button applet into the Build Folder.

By default, the Build Folder is located inside of the 1 Cool Button Tool folder and will be named the same as your project (you will also notice a backup folder - it is a just a backup of all the resource needed to rebuild your project)

The Build Folder contains the following files:

All images and sound used Any .gif, .jpg and.au files you have used in your project.
BtnPlayer.cab Compressed 1CBT class file - used for Microsoft browsers (If you have selected to include content in archive, this will also contain all of your graphics and sounds)
BtnPlayer.class Uncompressed 1CBT Player - used only in older browsers
BtnPlayer.jar Compressed 1CBT class file - used for Netscape browsers (If you have selected to include content in archive, this will also contain all of your graphics and sounds)
projectname.bak Backup of the project file - by keeping this on the live server many people have been saved a re-build when their PC fails.
projectnameMap.jpg Automatically generated imagemap - used when people do not have a java-enabled browser (extremely rare these days)
projectname.html The HTML page used in when you Test in Browser - only displays the applet

At a minimum you need to put all the BtnPlayer files (class, cab and jar) and all of the images and sounds used in your java project on the live server in order for project to work.

After the applet has been built you will able to click on the Build Folder link - this will open the folder inside Windows explorer. You will need to upload ALL the files in this folder to your web server. Nothing further is necessary for the applet to run.

If you don't know how to upload files to your web server, contact your Internet Service Provider, or Network Administrator. Generally you will need an FTP client such as CuteFTP to upload files to your server.

Note:
Be aware that applets made with the unregistered version of 1 Cool Button Tool will display a large UNREGISTERED message when they are run over the Internet.

More Options / Fewer Options:

This button toggles between showing and hiding the Advanced Build Options.