Secure Global Desktop Administration Guide > Applets > setEnabled (print applet)

setEnabled (print applet)

Syntax

void setEnabled(boolean enabled)

Description

The setEnabled method lets you specify whether a print applet can be the working applet. Only the working applet can be used to control and recieve information about your print jobs.

To allow a print applet to be the working applet, set enabled to true. Use this method when two or more print applets are running simultaneously in the same Secure Global Desktop session. To give one print applet the priority over others when determining the working applet, use the setActive method.

Note that if only one print applet is running it will be the working applet even if enabled is set to false.

Examples

setEnabled(1);

The print applet can be the working applet.

Related topics