Edit file Preview.java