setting sizes dimension of JPANELS, in addition to components. need to review, add exceptions, to add unit tests + to add padding to dimensions