SoapUI.logError( e );
}
}
else if( panelBuilder != null && panelBuilder.hasDesktopPanel() )
{
DesktopPanel desktopPanel = panelBuilder.buildDesktopPanel( modelItem );
if( desktopPanel == null )
return null;
JInternalFrame frame = createContentFrame( desktopPanel );
desktopPane.add( frame );
try
{
frame.setSelected( true );
}
catch( PropertyVetoException e )
{
SoapUI.logError( e );
}
modelItemToInternalFrameMap.put( modelItem, frame );
internalFrameToDesktopPanelMap.put( frame, desktopPanel );
fireDesktopPanelCreated( desktopPanel );
currentPanel = desktopPanel;
desktopPanel.getComponent().requestFocusInWindow();
}
else
Toolkit.getDefaultToolkit().beep();
enableWindowActions();