public void actionPerformed(ActionEvent e)
	{
		if(e.getSource() == btnOK)
		{
			String strDestinationIP = txtDestinationIP.getText();
			strDestinationIP = strDestinationIP.trim();
			
			if(!strDestinationIP.equals(""))
			{			
				wasOkPressed = true;
				//this.hide();
                                this.setVisible(false);
			}
			else
			{
				// Throw warning dialog for empty Destination IP textfield
				JOptionPane.showInternalMessageDialog(this.getContentPane(), 
						 "Destination IP Address can not be empty", "Destination IP Address Warning", 
						 JOptionPane.WARNING_MESSAGE);
			}
		}
		if(e.getSource() == btnCancel)
		{
			this.dispose();
		}
	}