Pure Java (+ AWT) implementation of Wield, for later conversion to Android