RadComponent (final int i) { RadComponent c = null; final Component component = getTabbedPane().getComponentAt(i); if (component instanceof JComponent jc) { c = (RadComponent) jc.getClientProperty(RadComponent.CLIENT_PROP_RAD_COMPONENT); } return c; }