Corrected Java GUI bindings.