-
Bug
-
Resolution: Won't Fix
-
P4
-
1.4.2
-
x86
-
windows_xp
Name: rmT116609 Date: 05/11/2004
FULL PRODUCT VERSION :
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
A combo box does not scroll if mouse wheel is rotated.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1) Run a program that displays JComboBox on Windows platform.
2) Focus the combo box without droping it down
3) rotate mouse wheel to select another item. Observe that it has no effect on the selection of the combo box
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A standard Windows behaviour would be to change combo box selection when wheel is rotated.
ACTUAL -
Mouse wheel rotation has no effect on the combo box
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.awt.*;
import javax.swing.*;
public class ComboTest {
public static void main(String[] args) {
// set windows look and feel
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
}
catch (Exception exc) {
}
JFrame frame = new JFrame("test");
JComboBox box = new JComboBox();
box.addItem("Item 1");
box.addItem("Item 2");
box.addItem("Item 3");
frame.getContentPane().setLayout(new FlowLayout());
frame.getContentPane().add(box);
frame.setBounds(100, 100, 200, 200);
frame.setVisible(true);
}
}
---------- END SOURCE ----------
(Incident Review ID: 261404)
======================================================================
FULL PRODUCT VERSION :
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
A combo box does not scroll if mouse wheel is rotated.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1) Run a program that displays JComboBox on Windows platform.
2) Focus the combo box without droping it down
3) rotate mouse wheel to select another item. Observe that it has no effect on the selection of the combo box
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A standard Windows behaviour would be to change combo box selection when wheel is rotated.
ACTUAL -
Mouse wheel rotation has no effect on the combo box
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.awt.*;
import javax.swing.*;
public class ComboTest {
public static void main(String[] args) {
// set windows look and feel
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
}
catch (Exception exc) {
}
JFrame frame = new JFrame("test");
JComboBox box = new JComboBox();
box.addItem("Item 1");
box.addItem("Item 2");
box.addItem("Item 3");
frame.getContentPane().setLayout(new FlowLayout());
frame.getContentPane().add(box);
frame.setBounds(100, 100, 200, 200);
frame.setVisible(true);
}
}
---------- END SOURCE ----------
(Incident Review ID: 261404)
======================================================================