static A possiblyInternalFrameTitle(A c, S title) { JInternalFrame f = getInternalFrame(c); if (f != null) internalFrameTitle(f, title); else frameTitle(getFrame(c), title); ret c; } sS possiblyInternalFrameTitle(Component c) { JInternalFrame f = getInternalFrame(c); ret f != null ? internalFrameTitle(f) : frameTitle(getFrame(c)); }