- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    1.4.2, 1.4.2_02, 5.0, 6
- 
        b53
- 
        x86
- 
        windows_2000, windows_xp
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-2135455 | 5.0-pool | Brent Christian | P3 | Closed | Won't Fix | |
| JDK-2157344 | 1.4-pool | Unassigned | P4 | Closed | Won't Fix | 
                    In the Windows LAF on WinXP the system sliders has rollover effect while Swing JSlider misses it.
Start following application:
import javax.swing.*;
import java.awt.*;
public class SliderTest {
public static void main(String[] args) {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch(Exception ex) {
ex.printStackTrace();
System.exit(-1);
}
JFrame frame = new JFrame("Slider test");
frame.setLayout(new BorderLayout());
frame.add(new JSlider(), BorderLayout.CENTER);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.pack();
frame.setVisible(true);
}
}
And see that when mouse over the JSlider it does not highlight its marker like native sliders do.
###@###.### 11/4/04 16:56 GMT
            
Start following application:
import javax.swing.*;
import java.awt.*;
public class SliderTest {
public static void main(String[] args) {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch(Exception ex) {
ex.printStackTrace();
System.exit(-1);
}
JFrame frame = new JFrame("Slider test");
frame.setLayout(new BorderLayout());
frame.add(new JSlider(), BorderLayout.CENTER);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.pack();
frame.setVisible(true);
}
}
And see that when mouse over the JSlider it does not highlight its marker like native sliders do.
###@###.### 11/4/04 16:56 GMT
- backported by
- 
                    JDK-2135455 XP L&F: No rollover effect on the JSlider component -           
- Closed
 
-         
- 
                    JDK-2157344 XP L&F: No rollover effect on the JSlider component -           
- Closed
 
-         
- duplicates
- 
                    JDK-4784677 Win L&F: JSliders do not show rollover and drag effects -           
- Closed
 
-