163164165166167168169170171172173
if(answer==JOptionPane.YES_OPTION) { try { ssh.connect(); net.neoremind.sshxcute.core.Result res = ssh.exec(sampleTask); if (res.isSuccess) { label_restart_p2s_OK.setFont(font); label_restart_p2s_OK.setForeground(new Color(34,139,34));
212213214215216217218219220221222
if(answer==JOptionPane.YES_OPTION) { try { ssh.connect(); net.neoremind.sshxcute.core.Result res = ssh.exec(sampleTask); if (res.isSuccess) { label_restart_dialer_OK.setFont(font); label_restart_dialer_OK.setForeground(new Color(34,139,34));
260261262263264265266267268269270
if(answer==JOptionPane.YES_OPTION) { try { ssh.connect(); net.neoremind.sshxcute.core.Result res = ssh.exec(sampleTask); if (res.isSuccess) { label_restart_pause_OK.setFont(font); label_restart_pause_OK.setForeground(new Color(34,139,34));