javahidapi example codebase