Last change
on this file was
13949,
checked in by Mark Evenson, 12 years ago
|
abcl-contrib: Add jfli.
The Java Foreign Linker Interface (JFLI) provides an abstraction to
manipulate Java classes from Armed Bear Common Lisp that has been
ported to other Lisp implementations.
Incorporated into ABCL from <git://github.com/mrohne/jfli>.
|
File size:
1.3 KB
|
Line | |
---|
1 | This example is a Lisp version of Explorer v9 from |
---|
2 | http://www-106.ibm.com/developerworks/opensource/library/os-ecgui3/ |
---|
3 | The gifs are from |
---|
4 | ftp://www6.software.ibm.com/software/developer/library/os-ecgui3/examples.zip |
---|
5 | |
---|
6 | To use it, (optionally compile) and load swt9jfli-gen.lisp first, and |
---|
7 | then swt9jfli.lisp. Start it with (swt0:main). |
---|
8 | |
---|
9 | But make sure first that besides asm.jar (http:/asm.objectweb.org), |
---|
10 | the various swt-related jars are in your classpath. I start abcl like |
---|
11 | this: |
---|
12 | |
---|
13 | /usr/java/jdk1.5.0/bin/java -cp /home/simon/java/j2/j/src/\ |
---|
14 | :/usr/share/java/pg74.215.jdbc3.jar\ |
---|
15 | :/home/simon/java/asm-1.5.1/lib/asm-1.5.1.jar\ |
---|
16 | :/opt/home/simon/java/eclipse/plugins/org.eclipse.core.boot_2.1.3/boot.jar\ |
---|
17 | :/opt/home/simon/java/eclipse/plugins/org.eclipse.core.runtime_2.1.1/runtime.jar\ |
---|
18 | :/opt/home/simon/java/eclipse/plugins/org.eclipse.jface_2.1.3/jface.jar\ |
---|
19 | :/opt/home/simon/java/eclipse/plugins/org.eclipse.jface.text_2.1.0/jfacetext.jar\ |
---|
20 | :/opt/home/simon/java/eclipse/plugins/org.eclipse.swt.gtk_2.1.3/ws/gtk/swt.jar\ |
---|
21 | :/opt/home/simon/java/eclipse/plugins/org.eclipse.swt.gtk_2.1.3/ws/gtk/swt-pi.jar\ |
---|
22 | -Djava.library.path=/opt/home/simon/java/eclipse/plugins/org.eclipse.swt.gtk_2.1.3/os/linux/x86/\ |
---|
23 | :/home/simon/java/jogl/\ |
---|
24 | org.armedbear.lisp.Main "$@" |
---|
25 | |
---|
26 | If everything goes well, a window like |
---|
27 | http://www.math.bme.hu/~asimon/lisp/swt.png should appear. |
---|
Note: See
TracBrowser
for help on using the repository browser.