Hello world,
It's now possible to call Java from VisualWorks - and to call back!
Here's a screenshot showing a workspace with code which opens a Swing
window, the Swing window showing the Smalltalk class hierarchy using
callbacks, and VisualWorks logging the Java VM's debugging output in the
Transcript. (The Swing example is taken from Chris Uppal's JNIPort
documentation.)
The latest version of JNIPort for VisualWorks which enables callbacks is
in the Cincom Public Repository. This may a bit premature because there
are still exceptions and JVM crashes with certain combinations of
options (involving lazy ghost classes and the VFPrintfHook), but I
couldn't resist. :-)
Joachim Geidel