Update example2.java and dataadapter.java