private void jButton2_actionPerformed(ActionEvent e)
	{
		System.out.println("\njButton2_actionPerformed(ActionEvent e) called.");
		
		String dest;
		if(flag==0)
		{
			if(destination.equalsIgnoreCase(a[0]))
			{
				JOptionPane.showMessageDialog(null,"Select the Destination!..");
			}
			else if(destination.equalsIgnoreCase(a[1]))
			{
				JOptionPane.showMessageDialog(null,"This Is From R-101");
				dest=setDest(a[1]);
				sendData("localhost",111,dest);
				
			}
			else if(destination.equalsIgnoreCase(a[2]))
			{
				JOptionPane.showMessageDialog(null,"This Is From I-102");
				dest=setDest(a[2]);
				sendData("localhost",111,dest);
				
			}
			else if(destination.equalsIgnoreCase(a[3]))
			{
				JOptionPane.showMessageDialog(null,"This Is From R-103");
				dest=setDest(a[3]);
				sendData("localhost",222,dest);

			}
			else if(destination.equalsIgnoreCase(a[4]))
			{
				JOptionPane.showMessageDialog(null,"This Is From R-104");
				dest=setDest(a[4]);
				sendData("localhost",222,dest);
			}
			else if(destination.equalsIgnoreCase(a[5]))
			{
				JOptionPane.showMessageDialog(null,"This Is From I-105");
				dest=setDest(a[5]);
				sendData("localhost",222,dest);
			}
		}
		else
		JOptionPane.showMessageDialog(null,"Load the File OR Select the Destination!..");
		

	}