/[classpath]/classpath/javax/swing/JProgressBar.java
ViewVC logotype

Diff of /classpath/javax/swing/JProgressBar.java

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

revision 1.12 by trebligd, Thu Jul 7 11:37:45 2005 UTC revision 1.13 by langel, Wed Sep 14 20:25:13 2005 UTC
# Line 243  public class JProgressBar extends JCompo Line 243  public class JProgressBar extends JCompo
243      model = new DefaultBoundedRangeModel(minimum, 0, minimum, maximum);      model = new DefaultBoundedRangeModel(minimum, 0, minimum, maximum);
244      if (orientation != HORIZONTAL && orientation != VERTICAL)      if (orientation != HORIZONTAL && orientation != VERTICAL)
245        throw new IllegalArgumentException(orientation + " is not a legal orientation");            throw new IllegalArgumentException(orientation + " is not a legal orientation");    
246      this.orientation = orientation;      setOrientation(orientation);
247      changeListener = createChangeListener();      changeListener = createChangeListener();
248      model.addChangeListener(changeListener);      model.addChangeListener(changeListener);
249      updateUI();      updateUI();

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26