/[classpath]/classpath/javax/swing/plaf/basic/BasicSliderUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicSliderUI.java

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

revision 1.6.2.4 by gnu_andrew, Thu Jan 27 09:45:36 2005 UTC revision 1.6.2.5 by gnu_andrew, Thu Apr 28 23:00:14 2005 UTC
# Line 2158  public class BasicSliderUI extends Slide Line 2158  public class BasicSliderUI extends Slide
2158    
2159    /**    /**
2160     * This method finds the closest value that has a tick associated with it.     * This method finds the closest value that has a tick associated with it.
2161       * This is package-private to avoid an accessor method.
2162     *     *
2163     * @param value The value to search from.     * @param value The value to search from.
2164     *     *
2165     * @return The closest value that has a tick associated with it.     * @return The closest value that has a tick associated with it.
2166     */     */
2167    private int findClosestTick(int value)    int findClosestTick(int value)
2168    {    {
2169      int min = slider.getMinimum();      int min = slider.getMinimum();
2170      int max = slider.getMaximum();      int max = slider.getMaximum();

Legend:
Removed from v.1.6.2.4  
changed lines
  Added in v.1.6.2.5

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