Adding getter and setter to TabbedPanel.