Setting/Updating a tabbed JPanel's name
I am currently writing a program for my final year project and have stumbled across a hurdle in designing my GUI.
I want to label my tabs to the names of the different subsets of data that my program uses. The problem is the data isn't read in from file until runtime, so I can set the name of the tab when they are created.
I have got them set to "Group 1", "Group 2" etc at the moment but I am looking for a way to update them when a user gives the group a more meaningful name.
I have a title JLabel for each tab which is updated with the setText() method, but I can't seem to find an equivalent method for the tabbed panel
Any help would be greatly appreciated,