/[svn]/jsampler/trunk/src/org/jsampler/view/classic/ProgressDlg.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/view/classic/ProgressDlg.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 910 by iliev, Thu Mar 16 18:08:34 2006 UTC revision 911 by iliev, Mon Aug 7 18:25:58 2006 UTC
# Line 59  public class ProgressDlg extends JDialog Line 59  public class ProgressDlg extends JDialog
59                    
60          /** Creates a new instance of ProgressDlg */          /** Creates a new instance of ProgressDlg */
61          public          public
62          ProgressDlg(Frame frm) {          ProgressDlg() {
63                  super(frm, "", true);                  super(CC.getMainFrame(), "", true);
64                                    
65                  pb.setIndeterminate(true);                  pb.setIndeterminate(true);
66                  //pb.setStringPainted(true);                  //pb.setStringPainted(true);
# Line 93  public class ProgressDlg extends JDialog Line 93  public class ProgressDlg extends JDialog
93                  setSize(d);                  setSize(d);
94                  setResizable(false);                  setResizable(false);
95                                    
96                  setLocation(JuifeUtils.centerLocation(this, frm));                  setLocation(JuifeUtils.centerLocation(this, CC.getMainFrame()));
97          }          }
98                    
99          private void          private void
# Line 125  public class ProgressDlg extends JDialog Line 125  public class ProgressDlg extends JDialog
125                    
126          /** Starts to indicate that an operation is ongoing. */          /** Starts to indicate that an operation is ongoing. */
127          public void          public void
128          start() { setVisible(true); }          start() {
129                    setLocation(JuifeUtils.centerLocation(this, CC.getMainFrame()));
130                    setVisible(true);
131            }
132                    
133          /** Stops the indication that an operation is ongoing. */          /** Stops the indication that an operation is ongoing. */
134          public void          public void

Legend:
Removed from v.910  
changed lines
  Added in v.911

  ViewVC Help
Powered by ViewVC