Some samples of my java programming