Custom sensors for NXT

Vernier Software & Technology has published some nice images and videos of NXT robots they created to illustrate the usage of their custom sensors (amongst others a Low-G Accelerometer, a UV sensor and a magnetic field sensor).
Have a look there.
Comments
Can anyone tell me if there is a way to use Java with NXT? If there is a website, I'd like to know were.
--
Brian Davis
Jim
I think that the acceleromitor would work very nicly with a segway design.
I saw the book earlier and I'm looking forward to it. I just didn't know whether I could do it sooner. Oh well...
Thanks anyway!