JVM Languages
jqa0301.txt
Associated article: Java Q&A
Tags: JVM Languages
Published source code accompanying the article by Cameron Laird in which he shows how you can script Java with Tcl using TclBlend.
Java Q&A
by Cameron Laird
Example 1:
package require java
java::import AirPurifier
pack [button .b -text "Start purifier" -command action]
pack [label .l]
proc action {} {
switch [.b cget -text] {
"Start purifier" {
set ::purifier [java::...


