packsPanelCls = Class.forName( PANEL_PKG + "." + PACKS_PANEL );
} catch( Exception e ) {
e.printStackTrace();
throw new RuntimeException( e );
}
IzPanel packsPanel = null;
for( int i = 0; i < panels.size(); ++i ) {
packsPanel = (IzPanel)panels.get(i);
if( packsPanelCls.isInstance( packsPanel )) { // there's only one
break;
}
packsPanel = null;
}
if( packsPanel != null ) {
Debug.trace( "-ValidatePackSelections.panelDeactivate() - calling ImgPacks panel to make new xml." );
packsPanel.makeXMLData( panelRoot );
}
}
}
}