I need to change the label of the currently selected tab in tabbed pane. It is for when the user saves the file the change must be reflected in the label of the current panel in the tabbed pane.
Tried a few things like:
tabbedPane.setSelectedComponent(this.panel1.setName(name));
but no good