I m a Java programmer (J2SE). The main problem is that i m working in a industry so there is no body to solve my problem.

I have one problem, if u solve this then i will be very thankful to u.

I want to see the immediate effect of swing command like lblStatus.setText(?).. and jProgressBar.setValue(?)... For this purpose, i used invokeAndWait() method but error appears: "u can't run this method in event-dispatch thread" similarly, Thread.getCurrentThread().sync() and doLayout() method also failed...

plz send me solution on my given e-mail ID and also a cc to <[email protected]>

Thanks,
GAJESH TRIPATHI (mca)