}
private void doNewSpiderIdx() {
// this is the method where spidered indexes are made
SpiderDialog sd = new SpiderDialog(this, I18n.getString("new_spider_index"), true);
sd.init();
sd.setVisible(true);
if (sd.getConfirmed()) {
String spiderUrl = sd.getUrlFieldText().trim();
String desc = sd.getDesc();
int maxDocsToGet = sd.getMax();
try {
createSpiderIdx(spiderUrl, maxDocsToGet, desc);
}
catch (Exception e) {
logger.fatal("doNewSpiderIdx() failed", e);