Setting the panel to transparent via the following statement prevents the panel from receiving an ActionEvent when an ActionListener is registered on the Panel, but only in Internet Explorer 6+:
panel.getStyle().getBackground().setColor(Color.TRANSPARENT);
//The following will not fire in IE6 and greater.
panel.addActionListener("click", new ActionListener() {
public void actionPerformed(ActionEvent ev) {
System.out.println("You Clicked Me!");
}
});
While this is due to a known bug in IE, the framework code has worked around similar issues elsewhere in the codebase and it should work around it here as well.