added components and deleted newJpanel