Changed other panels to inherit the contentpanel not jpanel

seeing as they all are the same size, will need to all store a reference
to the window and possible other stuf, they can all share another layer
of ancestor