Update MotionPanel.java