| setSwingThreadSafe |
(int state [, int locked]) |
yoix.swing |
| |
Sets the interpreter's thread-safe setting to
state,
which should be
1
(the default) if Swing components automatically get treatment that is
supposed to guarantee thread-safe behavior and
0
if that job is left to the Yoix script.
The optional
locked
argument, if it is non-zero, can be used to prevent future changes.
setSwingThreadSafe
returns the interpreter's new setting and does not complain if you
try to change a locked value.
The thread-safe setting can also be permanently set using the
--threadsafe=true
or
--threadsafe=false
command line options.
|
Yoix is a registered trademark of AT&T Inc.
|