Dear All,
I am writing the following code but I am facing some problem.
public void actionPerformed(ActionEvent ae)
{
if (ae.getSource()==connect)
{
JOptionPane.showMessageDialog(null, "Connection Estabilished");
}
else if (ae.getSource()==disconnect)
{
JOptionPane.showMessageDialog(null, "Connection Disconnect");
}
}
When I Write this code, compiler compile this code but does not show messagebox when i clicked on buttons...........
Anyone please help me....
I am waiting for your help
Thanks