I have a class extending JDialog, it contains a JTextField and a button, a jProgressbar when user cliks on the button a Jprogress bar(Dynamic) must be visible