tabbedPane.setSelectedIndex(1); System.out.println("disconnect");
worker = new LdapWorker(server.getText(), baseDN.getText(), bindDN.getText(), bindDNPassword.getText());  boolean success = worker.getSuccess(); if (success) { connectButton.setVisible(false); server.setVisible(false); baseDN.setVisible(false); bindDN.setVisible(false); bindDNPassword.setVisible(false);  disconnectButton.setVisible(true); tabbedPane.setSelectedIndex(1); if (existentAttrsF!=null) existentAttrsF.removeAll(); if (otherAttrsF!=null) otherAttrsF.removeAll();  } else { connectButton.setVisible(true); disconnectButton.setVisible(false); }  if (success) { setLdapWorker(worker); createTreeModel(worker); tree.setModel(treeModel); addPanel.setWorker(worker); addPanel.setTree(tree); }
		public void actionPerformed(ActionEvent e) {		    tabbedPane.setSelectedIndex(1);		    System.out.println("disconnect");		}