Min size for jframe, and added timer repaint