Update Dialog1.java