/[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.7.2.4 by gnu_andrew, Tue Aug 2 20:12:37 2005 UTC revision 1.7.2.5 by gnu_andrew, Tue Sep 20 18:46:31 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.7.2.4  
changed lines
  Added in v.1.7.2.5

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