Refreshing on Java