title: Put focus on JDialog
body: <p>I have class InfoDialog which extends JDialog class in Java. I show InfoDialog while I am establishing SSH connection ( 5 or 6 seconds ) with info text. How to put focus on InfoDialog that user cannot do anything else until InfoDialog runaway ?</p>