Update SmartPanel.java