There is a simple JForm and JDialog in my application. The JDialog box contains the JProgressBar tab, and I use the method in JDialog as
public void updateProgress(int val){ prgProgress.setValue(val);
to update the progress bar.
When I try to update the progress bar in JDialog from JForm, the JProgressBar is not updating, as expected, tell me what might be the error.
Ref.
public class Status extends javax.swing.JDialog{ private javax.swing.JProgressBar prgProgress = new javax.swing.JProgressBar; ..... public void updateProgress(int val){ prgProgress.setValue(val);
Harsha
source share