186187188189190191192193194195196
} else if(e.getActionCommand().equals("webdavcon")) { //jftp.safeDisconnect(); WebdavHostChooser hc = new WebdavHostChooser(); hc.toFront(); //hc.setModal(true); hc.update(); } else if(e.getActionCommand().equals("close"))
201202203204205206207208209210211
{ // jftp.safeDisconnect(); // Switch windows // jftp.mainFrame.setVisible(false); HostChooser hc = new HostChooser(); hc.toFront(); //hc.setModal(true); hc.update(); } }
570571572573574575576577578579580
a.update(); } else if(e.getSource() == webdavCon) { WebdavHostChooser hc = new WebdavHostChooser(); hc.toFront(); hc.update(); } else if((e.getSource() == localFtpCon) && (!jftp.uiBlocked)) { HostChooser hc = new HostChooser(null, true);
576577578579580581582583584585586
hc.update(); } else if((e.getSource() == localFtpCon) && (!jftp.uiBlocked)) { HostChooser hc = new HostChooser(null, true); hc.toFront(); //hc.setModal(true); hc.update(); } else if((e.getSource() == localSmbCon) && (!jftp.uiBlocked))
584585586587588589590591592593594
hc.update(); } else if((e.getSource() == localSmbCon) && (!jftp.uiBlocked)) { SmbHostChooser hc = new SmbHostChooser(null, true); hc.toFront(); //hc.setModal(true); hc.update(); } else if((e.getSource() == localSftpCon) && (!jftp.uiBlocked))
592593594595596597598599600601602
hc.update(); } else if((e.getSource() == localSftpCon) && (!jftp.uiBlocked)) { SftpHostChooser hc = new SftpHostChooser(null, true); hc.toFront(); //hc.setModal(true); hc.update(); } else if((e.getSource() == localNfsCon) && (!jftp.uiBlocked))
600601602603604605606607608609610
hc.update(); } else if((e.getSource() == localNfsCon) && (!jftp.uiBlocked)) { NfsHostChooser hc = new NfsHostChooser(null, true); hc.toFront(); //hc.setModal(true); hc.update(); } else if((e.getSource() == localWebdavCon) && (!jftp.uiBlocked))
608609610611612613614615616617618
hc.update(); } else if((e.getSource() == localWebdavCon) && (!jftp.uiBlocked)) { WebdavHostChooser hc = new WebdavHostChooser(null, true); hc.toFront(); //hc.setModal(true); hc.update(); } else if(e.getSource() == closeLocalCon)
691692693694695696697698699700701
} else if((e.getSource() == ftpCon) && (!jftp.uiBlocked)) { //jftp.safeDisconnect(); HostChooser hc = new HostChooser(); hc.toFront(); //hc.setModal(true); hc.update(); } else if((e.getSource() == smbCon) && (!jftp.uiBlocked))
700701702703704705706707708709710
} else if((e.getSource() == smbCon) && (!jftp.uiBlocked)) { //jftp.safeDisconnect(); SmbHostChooser hc = new SmbHostChooser(); hc.toFront(); //hc.setModal(true); hc.update(); } else if((e.getSource() == sftpCon) && (!jftp.uiBlocked))