Secure Global Desktop 4.31 Administration Guide > Applets > setEnabled (print applet)
void setEnabled(boolean enabled)
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
.
setEnabled(1);
The print applet can be the working applet.
Copyright © 1997-2007 Sun Microsystems, Inc. All rights reserved.