Program: 81668
Project: 81668
Buggy source:
public SettingWindow(JFrame mainWindow){
  super("String_Node_Str");
  this.getContentPane().setLayout(null);
  this.setSize(640,450);
  this.setResizable(false);
  this.setLocationRelativeTo(null);
  Setting setting=((EgDownloaderWindow)mainWindow).setting;
  settingTabPanel.setBounds(20,5,600,400);
  Color labelColor=Color.BLUE;
  basicPanel=new JPanel();
  basicPanel.setLayout(null);
  saveDirLabel=new AJLabel("String_Node_Str",labelColor,25,30,100,30);
  saveDirField=new AJTextField(setting.getDefaultSaveDir(),"String_Node_Str",125,30,360,30);
  saveAsNameLabel=new AJLabel("String_Node_Str",labelColor,25,70,100,30);
  saveAsNameBox=new JCheckBox("String_Node_Str",setting.isSaveAsName());
  saveAsNameBox.setBounds(125,70,30,30);
  maxThreadLabel=new AJLabel("String_Node_Str",labelColor,25,110,100,30);
  maxThreadField=new AJTextField(setting.getMaxThread() + "String_Node_Str","String_Node_Str",125,110,100,30);
  loginUrlLabel=new AJLabel("String_Node_Str",labelColor,25,150,100,30);
  loginUrlField=new AJTextField(setting.getLoginUrl(),"String_Node_Str",125,150,360,30);
  cookieLabel=new AJLabel("String_Node_Str",labelColor,25,190,100,30);
  cookieField=new AJTextField(setting.getCookieInfo(),"String_Node_Str",125,190,360,30);
  MouseListener basicBtnListener=new OperaBtnMouseListener(mainWindow,MouseAction.CLICK,new IListenerTask(){
    public void doWork(    Window window,    MouseEvent e){
      EgDownloaderWindow mainWindow=(EgDownloaderWindow)window;
      SettingWindow settingWindow=(SettingWindow)mainWindow.settingWindow;
      String saveDir=settingWindow.saveDirField.getText();
      String maxThread=settingWindow.maxThreadField.getText();
      String loginUrl=settingWindow.loginUrlField.getText();
      boolean saveAsName=settingWindow.saveAsNameBox.getSelectedObjects() == null ? false : true;
      String cookieInfo=settingWindow.cookieField.getText();
      Pattern p=Pattern.compile("String_Node_Str");
      if ("String_Node_Str".equals(saveDir)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(maxThread)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if (!p.matcher(maxThread).matches()) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(loginUrl)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else {
        if ("String_Node_Str".equals(cookieInfo)) {
          int result=JOptionPane.showConfirmDialog(null,"String_Node_Str");
          if (result != 0) {
            return;
          }
        }
        mainWindow.setting.setDefaultSaveDir(saveDir);
        mainWindow.setting.setSaveAsName(saveAsName);
        mainWindow.setting.setMaxThread(Integer.parseInt(maxThread));
        mainWindow.setting.setLoginUrl(loginUrl);
        mainWindow.setting.setCookieInfo(cookieInfo);
        mainWindow.settingDbTemplate.update(mainWindow.setting);
        JOptionPane.showMessageDialog(null,"String_Node_Str");
      }
    }
  }
);
  basicBtn=new AJButton("String_Node_Str","String_Node_Str",ComponentConst.SKIN_NUM + ComponentConst.SKIN_ICON.get("String_Node_Str"),basicBtnListener,250,250,60,30);
  addComponentsJpanel(basicPanel,saveDirLabel,saveDirField,saveAsNameLabel,saveAsNameBox,maxThreadLabel,maxThreadField,loginUrlLabel,loginUrlField,cookieLabel,cookieField,basicBtn);
  h_uriLabel=new AJLabel("String_Node_Str",labelColor,25,30,80,30);
  h_uriTextField=new AJTextField(setting.getHentaiHome().getUri(),null,105,30,400,30);
  h_firstParameterNameLabel=new AJLabel("String_Node_Str",labelColor,25,70,80,30);
  h_firstParameterNameTextField=new AJTextField(setting.getHentaiHome().getFirstParameterName(),null,105,70,400,30);
  h_secondParameterNameLabel=new AJLabel("String_Node_Str",labelColor,25,110,80,30);
  h_secondParameterNameTextField=new AJTextField(setting.getHentaiHome().getSecondParameterName(),null,105,110,400,30);
  h_totalPrefixLabel=new AJLabel("String_Node_Str",labelColor,25,150,80,30);
  h_totalPrefixTextField=new AJTextField(setting.getTotalPrefix(),null,105,150,120,30);
  h_namePrefixLabel=new AJLabel("String_Node_Str",labelColor,300,150,80,30);
  h_namePrefixTextField=new AJTextField(setting.getNamePrefix(),null,385,150,120,30);
  h_fileListPrefixLabel=new AJLabel("String_Node_Str",labelColor,25,190,80,30);
  h_fileListPrefixTextField=new AJTextField(setting.getFileListPrefix(),null,105,190,120,30);
  h_fileListSuffixLabel=new AJLabel("String_Node_Str",labelColor,300,190,80,30);
  h_fileListSuffixTextField=new AJTextField(setting.getFileListSuffix(),null,385,190,120,30);
  MouseListener h_BtnListener=new OperaBtnMouseListener(mainWindow,MouseAction.CLICK,new IListenerTask(){
    public void doWork(    Window window,    MouseEvent e){
      EgDownloaderWindow mainWindow=(EgDownloaderWindow)window;
      SettingWindow settingWindow=(SettingWindow)mainWindow.settingWindow;
      String uri=settingWindow.h_uriTextField.getText();
      String gid=settingWindow.h_firstParameterNameTextField.getText();
      String t=settingWindow.h_secondParameterNameTextField.getText();
      String totalPrefix=settingWindow.h_totalPrefixTextField.getText();
      String namePrefix=settingWindow.h_namePrefixTextField.getText();
      String fileListPrefix=settingWindow.h_fileListPrefixTextField.getText();
      String fileListSuffix=settingWindow.h_fileListSuffixTextField.getText();
      if ("String_Node_Str".equals(uri)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(gid)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(t)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(totalPrefix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(namePrefix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(fileListPrefix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(fileListSuffix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else {
        mainWindow.setting.getHentaiHome().setUri(uri);
        mainWindow.setting.getHentaiHome().setFirstParameterName(gid);
        mainWindow.setting.getHentaiHome().setSecondParameterName(t);
        mainWindow.setting.setTotalPrefix(totalPrefix);
        mainWindow.setting.setNamePrefix(namePrefix);
        mainWindow.setting.setFileListPrefix(fileListPrefix);
        mainWindow.setting.setFileListSuffix(fileListSuffix);
        mainWindow.settingDbTemplate.update(mainWindow.setting);
        JOptionPane.showMessageDialog(null,"String_Node_Str");
      }
    }
  }
);
  h_Btn=new AJButton("String_Node_Str","String_Node_Str",ComponentConst.SKIN_NUM + ComponentConst.SKIN_ICON.get("String_Node_Str"),h_BtnListener,250,250,60,30);
  henTaiHomePanel=new AJPanel(h_uriLabel,h_uriTextField,h_firstParameterNameLabel,h_firstParameterNameTextField,h_secondParameterNameLabel,h_secondParameterNameTextField,h_totalPrefixLabel,h_totalPrefixTextField,h_namePrefixLabel,h_namePrefixTextField,h_fileListPrefixLabel,h_fileListPrefixTextField,h_fileListSuffixLabel,h_fileListSuffixTextField,h_Btn);
  d_pageCountLabel=new AJLabel("String_Node_Str",labelColor,25,30,100,30);
  d_pageCountTextField=new AJTextField(setting.getPageCount() + "String_Node_Str","String_Node_Str",125,30,120,30);
  d_pageParamLabel=new AJLabel("String_Node_Str",labelColor,280,30,100,30);
  d_pageParamTextField=new AJTextField(setting.getPageParam() + "String_Node_Str","String_Node_Str",380,30,120,30);
  d_sourcePrefixLabel=new AJLabel("String_Node_Str",labelColor,25,70,100,30);
  d_sourcePrefixTextField=new AJTextField(setting.getSourcePrefix() + "String_Node_Str","String_Node_Str",125,70,120,30);
  d_sourceSuffixLabel=new AJLabel("String_Node_Str",labelColor,280,70,100,30);
  d_sourceSuffixTextField=new AJTextField(setting.getSourceSuffix() + "String_Node_Str","String_Node_Str",380,70,120,30);
  d_showPicPrefixLabel=new AJLabel("String_Node_Str",labelColor,25,110,100,30);
  d_showPicPrefixTextField=new AJTextField(setting.getShowPicPrefix() + "String_Node_Str","String_Node_Str",125,110,120,30);
  d_showPicSuffixLabel=new AJLabel("String_Node_Str",labelColor,280,110,100,30);
  d_showPicSuffixTextField=new AJTextField(setting.getShowPicSuffix() + "String_Node_Str","String_Node_Str",380,110,120,30);
  d_realUrlPrefixLabel=new AJLabel("String_Node_Str",labelColor,25,150,100,30);
  d_realUrlPrefixTextField=new AJTextField(setting.getRealUrlPrefix() + "String_Node_Str","String_Node_Str",125,150,120,30);
  d_realUrlSuffixLabel=new AJLabel("String_Node_Str",labelColor,280,150,100,30);
  d_realUrlSuffixTextField=new AJTextField(setting.getRealUrlSuffix() + "String_Node_Str","String_Node_Str",380,150,120,30);
  MouseListener d_BtnListener=new OperaBtnMouseListener(mainWindow,MouseAction.CLICK,new IListenerTask(){
    public void doWork(    Window window,    MouseEvent e){
      EgDownloaderWindow mainWindow=(EgDownloaderWindow)window;
      SettingWindow settingWindow=(SettingWindow)mainWindow.settingWindow;
      String pageCount=settingWindow.d_pageCountTextField.getText();
      String pageParam=settingWindow.d_pageParamTextField.getText();
      String sourcePrefix=settingWindow.d_sourcePrefixTextField.getText();
      String sourceSuffix=settingWindow.d_sourceSuffixTextField.getText();
      String showPicPrefix=settingWindow.d_showPicPrefixTextField.getText();
      String showPicSuffix=settingWindow.d_showPicPrefixTextField.getText();
      String realUrlPrefix=settingWindow.d_realUrlPrefixTextField.getText();
      String realUrlSuffix=settingWindow.d_realUrlSuffixTextField.getText();
      Pattern p=Pattern.compile("String_Node_Str");
      if ("String_Node_Str".equals(pageCount)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if (!p.matcher(pageCount).matches()) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(pageParam)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(sourcePrefix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(sourceSuffix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(showPicPrefix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(showPicSuffix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(realUrlPrefix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(realUrlSuffix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else {
        mainWindow.setting.setPageCount(Integer.parseInt(pageCount));
        mainWindow.setting.setPageParam(pageParam);
        mainWindow.setting.setSourcePrefix(sourcePrefix);
        mainWindow.setting.setSourceSuffix(sourceSuffix);
        mainWindow.setting.setShowPicPrefix(showPicPrefix);
        mainWindow.setting.setShowPicSuffix(showPicSuffix);
        mainWindow.setting.setRealUrlPrefix(realUrlPrefix);
        mainWindow.setting.setRealUrlSuffix(realUrlSuffix);
        mainWindow.settingDbTemplate.update(mainWindow.setting);
        JOptionPane.showMessageDialog(null,"String_Node_Str");
      }
    }
  }
);
  d_Btn=new AJButton("String_Node_Str","String_Node_Str",ComponentConst.SKIN_NUM + ComponentConst.SKIN_ICON.get("String_Node_Str"),d_BtnListener,250,250,60,30);
  downloadPanel=new AJPanel(d_pageCountLabel,d_pageCountTextField,d_pageParamLabel,d_pageParamTextField,d_sourcePrefixLabel,d_sourcePrefixTextField,d_sourceSuffixLabel,d_sourceSuffixTextField,d_showPicPrefixLabel,d_showPicPrefixTextField,d_showPicSuffixLabel,d_showPicSuffixTextField,d_realUrlPrefixLabel,d_realUrlPrefixTextField,d_realUrlSuffixLabel,d_realUrlSuffixTextField,d_Btn);
  settingTabPanel.add("String_Node_Str",basicPanel);
  settingTabPanel.add("String_Node_Str",henTaiHomePanel);
  settingTabPanel.add("String_Node_Str",downloadPanel);
  addComponents(settingTabPanel);
  this.setVisible(true);
  this.addWindowListener(new WindowAdapter(){
    public void windowClosing(    WindowEvent e){
      SettingWindow this_=(SettingWindow)e.getSource();
      this_.dispose();
    }
  }
);
}

Fixed version (ground truth):
public SettingWindow(JFrame mainWindow){
  super("String_Node_Str");
  this.getContentPane().setLayout(null);
  this.setSize(640,450);
  this.setResizable(false);
  this.setLocationRelativeTo(null);
  Setting setting=((EgDownloaderWindow)mainWindow).setting;
  settingTabPanel.setBounds(20,5,600,400);
  Color labelColor=Color.BLUE;
  basicPanel=new JPanel();
  basicPanel.setLayout(null);
  saveDirLabel=new AJLabel("String_Node_Str",labelColor,25,30,100,30);
  saveDirField=new AJTextField(setting.getDefaultSaveDir(),"String_Node_Str",125,30,360,30);
  saveAsNameLabel=new AJLabel("String_Node_Str",labelColor,25,70,100,30);
  saveAsNameBox=new JCheckBox("String_Node_Str",setting.isSaveAsName());
  saveAsNameBox.setBounds(125,70,30,30);
  maxThreadLabel=new AJLabel("String_Node_Str",labelColor,25,110,100,30);
  maxThreadField=new AJTextField(setting.getMaxThread() + "String_Node_Str","String_Node_Str",125,110,100,30);
  loginUrlLabel=new AJLabel("String_Node_Str",labelColor,25,150,100,30);
  loginUrlField=new AJTextField(setting.getLoginUrl(),"String_Node_Str",125,150,360,30);
  cookieLabel=new AJLabel("String_Node_Str",labelColor,25,190,100,30);
  cookieField=new AJTextField(setting.getCookieInfo(),"String_Node_Str",125,190,360,30);
  MouseListener basicBtnListener=new OperaBtnMouseListener(mainWindow,MouseAction.CLICK,new IListenerTask(){
    public void doWork(    Window window,    MouseEvent e){
      EgDownloaderWindow mainWindow=(EgDownloaderWindow)window;
      SettingWindow settingWindow=(SettingWindow)mainWindow.settingWindow;
      String saveDir=settingWindow.saveDirField.getText();
      String maxThread=settingWindow.maxThreadField.getText();
      String loginUrl=settingWindow.loginUrlField.getText();
      boolean saveAsName=settingWindow.saveAsNameBox.getSelectedObjects() == null ? false : true;
      String cookieInfo=settingWindow.cookieField.getText();
      Pattern p=Pattern.compile("String_Node_Str");
      if ("String_Node_Str".equals(saveDir)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(maxThread)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if (!p.matcher(maxThread).matches()) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(loginUrl)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else {
        if ("String_Node_Str".equals(cookieInfo)) {
          int result=JOptionPane.showConfirmDialog(null,"String_Node_Str");
          if (result != 0) {
            return;
          }
        }
        mainWindow.setting.setDefaultSaveDir(saveDir);
        mainWindow.setting.setSaveAsName(saveAsName);
        mainWindow.setting.setMaxThread(Integer.parseInt(maxThread));
        mainWindow.setting.setLoginUrl(loginUrl);
        mainWindow.setting.setCookieInfo(cookieInfo);
        mainWindow.settingDbTemplate.update(mainWindow.setting);
        JOptionPane.showMessageDialog(null,"String_Node_Str");
      }
    }
  }
);
  basicBtn=new AJButton("String_Node_Str","String_Node_Str",ComponentConst.SKIN_NUM + ComponentConst.SKIN_ICON.get("String_Node_Str"),basicBtnListener,250,250,60,30);
  addComponentsJpanel(basicPanel,saveDirLabel,saveDirField,saveAsNameLabel,saveAsNameBox,maxThreadLabel,maxThreadField,loginUrlLabel,loginUrlField,cookieLabel,cookieField,basicBtn);
  h_uriLabel=new AJLabel("String_Node_Str",labelColor,25,30,80,30);
  h_uriTextField=new AJTextField(setting.getHentaiHome().getUri(),null,105,30,400,30);
  h_firstParameterNameLabel=new AJLabel("String_Node_Str",labelColor,25,70,80,30);
  h_firstParameterNameTextField=new AJTextField(setting.getHentaiHome().getFirstParameterName(),null,105,70,400,30);
  h_secondParameterNameLabel=new AJLabel("String_Node_Str",labelColor,25,110,80,30);
  h_secondParameterNameTextField=new AJTextField(setting.getHentaiHome().getSecondParameterName(),null,105,110,400,30);
  h_totalPrefixLabel=new AJLabel("String_Node_Str",labelColor,25,150,80,30);
  h_totalPrefixTextField=new AJTextField(setting.getTotalPrefix(),null,105,150,120,30);
  h_namePrefixLabel=new AJLabel("String_Node_Str",labelColor,300,150,80,30);
  h_namePrefixTextField=new AJTextField(setting.getNamePrefix(),null,385,150,120,30);
  h_fileListPrefixLabel=new AJLabel("String_Node_Str",labelColor,25,190,80,30);
  h_fileListPrefixTextField=new AJTextField(setting.getFileListPrefix(),null,105,190,120,30);
  h_fileListSuffixLabel=new AJLabel("String_Node_Str",labelColor,300,190,80,30);
  h_fileListSuffixTextField=new AJTextField(setting.getFileListSuffix(),null,385,190,120,30);
  MouseListener h_BtnListener=new OperaBtnMouseListener(mainWindow,MouseAction.CLICK,new IListenerTask(){
    public void doWork(    Window window,    MouseEvent e){
      EgDownloaderWindow mainWindow=(EgDownloaderWindow)window;
      SettingWindow settingWindow=(SettingWindow)mainWindow.settingWindow;
      String uri=settingWindow.h_uriTextField.getText();
      String gid=settingWindow.h_firstParameterNameTextField.getText();
      String t=settingWindow.h_secondParameterNameTextField.getText();
      String totalPrefix=settingWindow.h_totalPrefixTextField.getText();
      String namePrefix=settingWindow.h_namePrefixTextField.getText();
      String fileListPrefix=settingWindow.h_fileListPrefixTextField.getText();
      String fileListSuffix=settingWindow.h_fileListSuffixTextField.getText();
      if ("String_Node_Str".equals(uri)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(gid)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(t)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(totalPrefix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(namePrefix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(fileListPrefix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(fileListSuffix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else {
        mainWindow.setting.getHentaiHome().setUri(uri);
        mainWindow.setting.getHentaiHome().setFirstParameterName(gid);
        mainWindow.setting.getHentaiHome().setSecondParameterName(t);
        mainWindow.setting.setTotalPrefix(totalPrefix);
        mainWindow.setting.setNamePrefix(namePrefix);
        mainWindow.setting.setFileListPrefix(fileListPrefix);
        mainWindow.setting.setFileListSuffix(fileListSuffix);
        mainWindow.settingDbTemplate.update(mainWindow.setting);
        JOptionPane.showMessageDialog(null,"String_Node_Str");
      }
    }
  }
);
  h_Btn=new AJButton("String_Node_Str","String_Node_Str",ComponentConst.SKIN_NUM + ComponentConst.SKIN_ICON.get("String_Node_Str"),h_BtnListener,250,250,60,30);
  henTaiHomePanel=new AJPanel(h_uriLabel,h_uriTextField,h_firstParameterNameLabel,h_firstParameterNameTextField,h_secondParameterNameLabel,h_secondParameterNameTextField,h_totalPrefixLabel,h_totalPrefixTextField,h_namePrefixLabel,h_namePrefixTextField,h_fileListPrefixLabel,h_fileListPrefixTextField,h_fileListSuffixLabel,h_fileListSuffixTextField,h_Btn);
  d_pageCountLabel=new AJLabel("String_Node_Str",labelColor,25,30,100,30);
  d_pageCountTextField=new AJTextField(setting.getPageCount() + "String_Node_Str","String_Node_Str",125,30,120,30);
  d_pageParamLabel=new AJLabel("String_Node_Str",labelColor,280,30,100,30);
  d_pageParamTextField=new AJTextField(setting.getPageParam() + "String_Node_Str","String_Node_Str",380,30,120,30);
  d_sourcePrefixLabel=new AJLabel("String_Node_Str",labelColor,25,70,100,30);
  d_sourcePrefixTextField=new AJTextField(setting.getSourcePrefix() + "String_Node_Str","String_Node_Str",125,70,120,30);
  d_sourceSuffixLabel=new AJLabel("String_Node_Str",labelColor,280,70,100,30);
  d_sourceSuffixTextField=new AJTextField(setting.getSourceSuffix() + "String_Node_Str","String_Node_Str",380,70,120,30);
  d_showPicPrefixLabel=new AJLabel("String_Node_Str",labelColor,25,110,100,30);
  d_showPicPrefixTextField=new AJTextField(setting.getShowPicPrefix() + "String_Node_Str","String_Node_Str",125,110,120,30);
  d_showPicSuffixLabel=new AJLabel("String_Node_Str",labelColor,280,110,100,30);
  d_showPicSuffixTextField=new AJTextField(setting.getShowPicSuffix() + "String_Node_Str","String_Node_Str",380,110,120,30);
  d_realUrlPrefixLabel=new AJLabel("String_Node_Str",labelColor,25,150,100,30);
  d_realUrlPrefixTextField=new AJTextField(setting.getRealUrlPrefix() + "String_Node_Str","String_Node_Str",125,150,120,30);
  d_realUrlSuffixLabel=new AJLabel("String_Node_Str",labelColor,280,150,100,30);
  d_realUrlSuffixTextField=new AJTextField(setting.getRealUrlSuffix() + "String_Node_Str","String_Node_Str",380,150,120,30);
  MouseListener d_BtnListener=new OperaBtnMouseListener(mainWindow,MouseAction.CLICK,new IListenerTask(){
    public void doWork(    Window window,    MouseEvent e){
      EgDownloaderWindow mainWindow=(EgDownloaderWindow)window;
      SettingWindow settingWindow=(SettingWindow)mainWindow.settingWindow;
      String pageCount=settingWindow.d_pageCountTextField.getText();
      String pageParam=settingWindow.d_pageParamTextField.getText();
      String sourcePrefix=settingWindow.d_sourcePrefixTextField.getText();
      String sourceSuffix=settingWindow.d_sourceSuffixTextField.getText();
      String showPicPrefix=settingWindow.d_showPicPrefixTextField.getText();
      String showPicSuffix=settingWindow.d_showPicSuffixTextField.getText();
      String realUrlPrefix=settingWindow.d_realUrlPrefixTextField.getText();
      String realUrlSuffix=settingWindow.d_realUrlSuffixTextField.getText();
      Pattern p=Pattern.compile("String_Node_Str");
      if ("String_Node_Str".equals(pageCount)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if (!p.matcher(pageCount).matches()) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(pageParam)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(sourcePrefix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(sourceSuffix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(showPicPrefix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(showPicSuffix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(realUrlPrefix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else       if ("String_Node_Str".equals(realUrlSuffix)) {
        JOptionPane.showMessageDialog(null,"String_Node_Str");
        return;
      }
 else {
        mainWindow.setting.setPageCount(Integer.parseInt(pageCount));
        mainWindow.setting.setPageParam(pageParam);
        mainWindow.setting.setSourcePrefix(sourcePrefix);
        mainWindow.setting.setSourceSuffix(sourceSuffix);
        mainWindow.setting.setShowPicPrefix(showPicPrefix);
        mainWindow.setting.setShowPicSuffix(showPicSuffix);
        mainWindow.setting.setRealUrlPrefix(realUrlPrefix);
        mainWindow.setting.setRealUrlSuffix(realUrlSuffix);
        mainWindow.settingDbTemplate.update(mainWindow.setting);
        JOptionPane.showMessageDialog(null,"String_Node_Str");
      }
    }
  }
);
  d_Btn=new AJButton("String_Node_Str","String_Node_Str",ComponentConst.SKIN_NUM + ComponentConst.SKIN_ICON.get("String_Node_Str"),d_BtnListener,250,250,60,30);
  downloadPanel=new AJPanel(d_pageCountLabel,d_pageCountTextField,d_pageParamLabel,d_pageParamTextField,d_sourcePrefixLabel,d_sourcePrefixTextField,d_sourceSuffixLabel,d_sourceSuffixTextField,d_showPicPrefixLabel,d_showPicPrefixTextField,d_showPicSuffixLabel,d_showPicSuffixTextField,d_realUrlPrefixLabel,d_realUrlPrefixTextField,d_realUrlSuffixLabel,d_realUrlSuffixTextField,d_Btn);
  settingTabPanel.add("String_Node_Str",basicPanel);
  settingTabPanel.add("String_Node_Str",henTaiHomePanel);
  settingTabPanel.add("String_Node_Str",downloadPanel);
  addComponents(settingTabPanel);
  this.setVisible(true);
  this.addWindowListener(new WindowAdapter(){
    public void windowClosing(    WindowEvent e){
      SettingWindow this_=(SettingWindow)e.getSource();
      this_.dispose();
    }
  }
);
}