Hello everybody,
the latest version of JNIPort, the Smalltalk interface to Java, has a
feature which you may like:
The class list of the Refactoring Browser has a new menu entry "New Java
wrapper class...". It pops up a dialog which lets you enter the name of
a Java class and the name of a Smalltalk class which will act as a proxy
for the Java class. Once you hit okay, the wrapper class is generated,
complete with wrappers for all the methods of the Java class. (You have
to start a JVM before doing this.)
Why is this a good thing? Well, if you create such a wrapper class, it
means that you can extend the Java class by adding Smalltalk methods!
This is of course slightly exaggerated, as you can use these extensions
only in Smalltalk and not from Java methods. But hey, you wouldn't use
JNIPort if you wanted to write Java methods, would you? ;-)
As always, the new version is in the Cincom Public Store Repository.
To learn more about JNIPort, check out the documentation at
http://jniport.wikispaces.comFor a one page quick start guide to using JNIPort, look here:
http://jniport.wikispaces.com/Getting+started+really+quickTo keep track of documentation updates, subscribe to this RSS feed:
http://jniport.wikispaces.com/space/xmla?v=rss_2_0Want to see a VisualWorks image which controls a Swing window? Here's
the screencast:
http://jniport.wikispaces.com/Example+-+Controlling+a+Swing+windowEnjoy!
Joachim Geidel
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc