jdk/src/java.desktop/share/classes/javax/swing/JSlider.java
changeset 29012 79f45920a5ce
parent 26353 b5e3b7fbf56d
child 33253 78e735319356
equal deleted inserted replaced
29011:9103251db920 29012:79f45920a5ce
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
  1285      */
  1285      */
  1286     public boolean getPaintTrack() {
  1286     public boolean getPaintTrack() {
  1287         return paintTrack;
  1287         return paintTrack;
  1288     }
  1288     }
  1289 
  1289 
  1290 
  1290     /**
  1291     /**
  1291      * Determines whether the track is painted on the slider. By default, this
  1292      * Determines whether the track is painted on the slider.
  1292      * property is {@code true}. It is up to the look and feel to honor this
  1293      * By default, this property is {@code true}.
  1293      * property, some may choose to ignore it.
  1294      *
  1294      *
  1295      * @param  b  whether or not to paint the slider track
  1295      * @param  b  whether or not to paint the slider track
  1296      * @see #getPaintTrack
  1296      * @see #getPaintTrack
  1297      * @beaninfo
  1297      * @beaninfo
  1298      *        bound: true
  1298      *        bound: true