Update ViewPanel.java

updated view panel