168169170171172173174175176177178
} else if(e.getActionCommand().equals("sftpcon")) { //jftp.safeDisconnect(); SftpHostChooser hc = new SftpHostChooser(); hc.toFront(); //hc.setModal(true); hc.update(); } else if(e.getActionCommand().equals("nfscon"))
177178179180181182183184185186187
} else if(e.getActionCommand().equals("nfscon")) { //jftp.safeDisconnect(); NfsHostChooser hc = new NfsHostChooser(); hc.toFront(); //hc.setModal(true); hc.update(); } else if(e.getActionCommand().equals("webdavcon"))
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(); } }
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))
709710711712713714715716717718719
} else if((e.getSource() == sftpCon) && (!jftp.uiBlocked)) { //jftp.safeDisconnect(); SftpHostChooser hc = new SftpHostChooser(); hc.toFront(); //hc.setModal(true); hc.update(); } else if((e.getSource() == nfsCon) && (!jftp.uiBlocked))