Allow viewing JPanel to repaint rendered image