Making Applet

When the design is finished, that is when you have finished composing your custom applet on the design panel using various components and have assigned appropriate properties to each of components, the next step is to deploy the design panel as an applet.

Creating Applet and HTML files

Choose "Make applet" from "Deploy" menu or click "Make applet" button on the tool bar. A dialog box titled "Create Applet" will pop up.

Dir
Select directory where the applet and additional required files will be saved.
Applet's name is "MyApplet" and is not supposed to be changed.

HTML Title
Set the title of the HTML page that will be the container of this applet.

Header Text
Input the header text of the HTML page.

Footer Text
Input the footer text of the HTML page.

Device Type
Choose a device type of HelloDevice between 1100, 1200 and 13xx. Port number is 6001 for HelloDevice and is not supposed to be changed.

Select a Virtual machine
You can choose a virtual machine for this applet. Browser's default virtual machine or Sun's Java plug-in. Check the difference between two virtual machines.
We recommend to use Sun's Java virtual machine.

User Authentication 
You can set an ID and password so that only authorized user can access this applet. The user ID and password should be free of blanks.
When the user authentication is set, the applet will check the user ID and password at the start up like below.
       
Then, you have to submit the User ID and password which is provided at the deployment time to enter the main screen.

Totally six files will be created in the selected directory : appletser.jar, audio.jar, image.jar, index.html, myapplet.jar, support.jar. 

Note : In case you didn't use any components which use image files such as GreenLed or ImageDisplay, "image.jar" file will not be created. Also if you didn't set any components' audio alarm property 'on', "audio.jar" will not be generated.

Running Applet with HelloDevice

First, upload all the generated files onto the HelloDevice using HelloDevice Utility Software. If you have not installed HelloDevice Utility software into your system, download this free of charge from here and install it into your system first. 

Launch your web browser and move to the HelloDevice's IP Address, and you can see the Applet communicating with the HelloDevice. More information about this can be found in the manual of HelloDevice.

Learn more about applet

ut applet