Some little tools using java