a java library,make the java program easier