Created ImagePanel class