So far I haven't seen anything specific to JNLP in this
thread, and I think it should be moved to the Swing forum. But then there really aren't enough specific details for me to know.
Kushagra, are you having problems with this code because you're running it in a JNLP environment? In other words are there problems which don't exist when you run it as an ordinary
Java application? If not, let me know (either by PM or by posting here and saying so) and I will move this thread to the Swing forum for you.