| java.lang.Object tcl.lang.UnsupportedJDetachCallCmd
UnsupportedJDetachCallCmd | public class UnsupportedJDetachCallCmd implements Command,Runnable(Code) | | This command is the only means to safely call a blocking
Java method like a modal AWT dialog box. If you used
java::call directly the entire application would hang
because the AWT blocks the calling thread in an AWT
modal dialos show() method. You would use this command
in place of the java::call method or a java instance
method. It will invoke a static or instance Java method
using another thread so that the calling thread will not block.
This command is unsupported and undocumented so you should
only need to use it if you run into this problem.
|
|
|