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

setActive (print applet)

Syntax

void setActive( boolean active )

Description

The setActive method lets you specify whether the print applet attempts to make itself the working applet.

Set active to true to give one print applet priority over another. For example, if two print applets are enabled in the same Secure Global Desktop session. Note that setting active to true for more than one applet running simultaneously is not recommended.

If active is set to false, the print applet doesn't actively attempt to make itself the working applet (the default behavior).

Examples

setActive(1);

The print applet tries to make itself the working applet.

Related topics