return eRetVal;
}
private HelpBroker _getHelpBroker( MainJFrame pMainJFrame_ ) {
HelpSet pHelpSet = null;
String sHSFile = pMainJFrame_.getInit()
.getHelpBrokerURL();
try {
URL urlHelpSet = new URL( sHSFile );
Util.debug( this, "_getHelpBroker(..).urlHelpSet: " +
urlHelpSet );
pHelpSet = new HelpSet( null, urlHelpSet );
/*sHSFile = pMainJFrame_.getClass().getName();
int lastDot = sHSFile.lastIndexOf( '.' );
if ( lastDot == -1 ) {
sHSFile = "/doc";
} else {
sHSFile = "/"
+ sHSFile.substring( 0, lastDot )
.replace( '.', '/' );
}
sHSFile += pMainJFrame_.getInit()
.getApplicationName()
.toLower()
+ ".hs";
pHelpSet = HelpSet.findHelpSet( null, sHSFile );*/
} catch( Exception pException ) {
Util.printlnErr( "HelpSet " + sHSFile +
" not found!" );
}
HelpBroker pHelpBroker = pHelpSet.createHelpBroker();
return pHelpBroker;
}