FINALLY!! figured out the CardLayout switching of panels within a JTabbedPane. I had to be done within one class thought. If anybody knows how would I go about doing CardLayout with multiple classes please let me know!