static A internalFrameTitle(A c, fS title) {
final JInternalFrame f = getInternalFrame(c);
if (f != null) swing {
f.setTitle(unnull(title));
toolTip(getInternalFrameTitlePaneComponent(f), title);
}
ret c;
}
static A internalFrameTitle(S title, A c) {
ret internalFrameTitle(c, title);
}
static S internalFrameTitle(Component c) {
final JInternalFrame f = getInternalFrame(c);
ret f == null ? null : swing(func -> S { f.getTitle() });
}