Information Center

Run applet

Click Actions > Run Applet to display the Run Applet window. Use Run Applet to load and run a user-defined applet.

 

Enter class name

Type the name of the class you want to load, and then click Run. You can type the class name with or without an extension.

The class must implement ECLAppletInterface or CustomInterface and have a default constructor to load and run successfully. See the section on Writing Your First Host Access Class Library Applet in the IBM Host On-Demand Host Access Class Library Reference for more information on applet basics.

Enter parameter (Optional)

Type the parameter that you want to pass to the applet. In order to receive the parameter, the applet must implement the following method: public void initParam(String param). The variable name, param, may be any valid variable name.
Host On-Demand provides a Run Applet that can set a user-defined screen size for a 3270 session. The class name for this applet is com.ibm.HOD.ScreenSize and the parameter needs to be size=nnxyy where nn is the number of rows and yy is the number of columns. For example, size=43x80 results in a screen with 43 rows and 80 columns.