This is a small application that mixes JOGL (Java OpenGL) with WiiremoteJ, to render the movement of the Wiimote and Nunchuk on screen. This application is targeted at software developers who want an example to use as reference.

In terms of hardware you will need a Bluetooth adaptor (built in or otherwise), a system that supports OpenGL 1.0 and a Wiimote. Also, although not necessary a wireless 'Wii Sensor Bar' is a nice bonus (you can make your own, or buy one commerically).

[ source ]