private void dropLink() {
		BufferedReader in;		
		try {
			LinkListViewHelper helper = (LinkListViewHelper) dropLinkComboBox.getSelectedItem();
			if(helper == null)
				return;
			
			Link l = helper.getLink();

			DataOutputStream dos = new DataOutputStream(socket.getOutputStream());
			in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
					
			dos.writeBytes(ServerFrame.dropLinkCmd + "\n");
			
			ObjectOutputStream oos = new ObjectOutputStream(socket.getOutputStream());
			oos.writeObject(l);
			
			String cmd = in.readLine();
			if(cmd.equals(ServerFrame.acceptCmd)) {
				return;
			} else if(cmd.equals(ServerFrame.failCmd)) {
				JOptionPane.showConfirmDialog(this, "Can't drop this link.", "Warning", JOptionPane.DEFAULT_OPTION, JOptionPane.WARNING_MESSAGE);
			} else {
				throw new Exception();
			}
		} catch(Exception e) {
			e.printStackTrace();
		}	
	}