Java LibX: change interface