jdk/src/share/classes/javax/swing/plaf/synth/SynthSliderUI.java
changeset 26351 4050cc242edf
parent 25565 ce603b34c98d
child 26352 fa12363e21d6
equal deleted inserted replaced
26350:3fb50df97199 26351:4050cc242edf
   390                 // Calculate the track rectangle.  It is necessary for
   390                 // Calculate the track rectangle.  It is necessary for
   391                 // xPositionForValue to return correct values.
   391                 // xPositionForValue to return correct values.
   392                 trackRect.x = insetCache.left;
   392                 trackRect.x = insetCache.left;
   393                 trackRect.width = contentRect.width;
   393                 trackRect.width = contentRect.width;
   394 
   394 
   395                 Dictionary<Integer, JComponent> dictionary = slider.getLabelTable();
   395                 Dictionary<Integer, ? extends JComponent> dictionary = slider.getLabelTable();
   396                 if (dictionary != null) {
   396                 if (dictionary != null) {
   397                     int minValue = slider.getMinimum();
   397                     int minValue = slider.getMinimum();
   398                     int maxValue = slider.getMaximum();
   398                     int maxValue = slider.getMaximum();
   399 
   399 
   400                     // Iterate through the keys in the dictionary and find the
   400                     // Iterate through the keys in the dictionary and find the