TitledBorders
and the tab titles of JTabbedPanes.
TitledBorder: select the component with the TitledBorder
and start in-place-editing as usual.
JTabbedPane: click on the tab, whose title you want to edit
and start in-place-editing as usual.