I have a JProgressBar in one class (say ClassA). This class is calling another class (say ClassB).
I want to update the JProgressBar in the previous class (ClassA) from the later class(ClassB).
How to achieve this. Please help with code example. This is veryyyy URGENT.
I've changed your subject line (your display name does NOT make a useful subject!) and moved the thread to the correct part of the forums.
Read the API for JProgressBaar and follow the link to the Swing tutorial on How to Use Progress Bars where you will find sample code.
Go through this page.
This is veryyyy URGENT.