}
public CompositeAdapter getContentAdapter() {
if (contentAdapter == null) {
contentAdapter = (JPanelAdapter) ExtensionRegistry.createWidgetAdapter(JPanel.class);
((JPanelAdapter) contentAdapter).setIntermediate(true);
JInternalFrame jif = (JInternalFrame) getWidget();
contentPane = (JPanel) jif.getContentPane();
contentAdapter.setWidget(contentPane);
contentAdapter.setDirty(false);
contentAdapter.setName(getName());
((JPanelAdapter)contentAdapter).setDelegate(this);
}