I don't suppose you could put keyboard polling in the hello world example? I've been trying for a while and I can't get it to work. The other examples are a little too big for me right now. I just know the basics of Java, haven't done any windowing.
Also, it started working for me when I accidentally overwrote my older jpct with the newer one. But then I erased the jpct folder and extracted this new one and now the runjava bat file doesn't work anymore and I get his error:
Actually, I think it's an extraction error. I've tried two unzip utilities and I get an error on both. It probably has something to do with this piece of crap called Vista, but the older version of jpct extracted o.k. I think it has something to do with the picture for hello world.
C:\Downloads\jpct\examples\helloworld>java -Djava.library.path=../../lib/lwjgl-1
.1.4 -Xmx128m -classpath classes;../../lib/jpct/jpct.jar;../../lib/lwjgl-1.1.4/l
wjgl.jar HelloWorldAWTGL
Exception in thread "main" java.lang.NoClassDefFoundError: com/threed/jpct/Objec
t3DList
at com.threed.jpct.World.<init>(Unknown Source)
at HelloWorldAWTGL.<init>(HelloWorldAWTGL.java:28)
at HelloWorldAWTGL.main(HelloWorldAWTGL.java:18)
Caused by: java.lang.ClassNotFoundException: com.threed.jpct.Object3DList
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 3 more
Caused by: java.util.zip.ZipException: incomplete literal/length tree
at java.util.zip.InflaterInputStream.read(Unknown Source)
at sun.misc.Resource.getBytes(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
... 10 more