-
Bug
-
Resolution: Fixed
-
P3
-
1.3.0
-
kestrel
-
x86
-
windows_nt
Name: dsC76792 Date: 09/23/99
###@###.###
The following test case demonstrates that MOUSE_ENTERED/MOUSE_EXITED
aren't generated for List on Win32:
import java.awt.*;
import java.awt.event.*;
public class MouseEnterTest extends MouseAdapter {
public static void main(String[] args) {
Frame frame = new Frame("MouseEnterTest");
MouseListener mouseListener = new MouseEnterTest();
List list = new List();
list.add("Item1");
list.add("Item2");
list.addMouseListener(mouseListener);
frame.add(list);
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
System.exit(0);
}
});
frame.pack();
frame.setVisible(true);
}
public void mouseEntered(MouseEvent e) {
System.err.println(e);
}
public void mouseExited(MouseEvent e) {
System.err.println(e);
}
}
The problem was introduced with the fix for bugs 4201967/4218746.
======================================================================
- relates to
-
JDK-4201967 Interaction between Lists, MenuItems and FileDialogs, causes invalid page fault
-
- Resolved
-
-
JDK-4245917 List printing broken
-
- Resolved
-
-
JDK-4218746 SetMultiSelect routine in awt_List.cpp causes corruption
-
- Closed
-