equal
deleted
inserted
replaced
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 |