Forums Register Login
I am reading some response from a device which is on network,and
udp server is running on that, i am sending some command to it,
and reading response from it, and on behalf of that response,
i try to pop message through swing componet i.e,

JOptionPane.showMessageDialog(null,"some message");

,but the prob. is that on pop of this message box,GUI gets hung.

if anybody has solution,please convey.

If your code is as you wrote, there is no issue with that call. I might suggest looking at your threading model. Do you have a working thread or a thread pool that is doing asynchronous work that generates this dialog? If so, that may be where your problem lies.

What exactly do you mean "Hung up" GUI?

This thread has been viewed 1307 times.

All times above are in ranch (not your local) time.
The current ranch time is
Oct 17, 2018 00:15:05.