Skip to main content

Blog Archive for alexfromsun during October 2005

Recently I came across one interesting bug 4413412 which seems to discover very odd Swing behaviors and really looks like a bug. The problem is that JLabel seems to be transparent for MouseEvents so its parent can catch mouseClick event if we click on this label. But after setting a tooltip this label stop passing MouseEvents trough and JFrame mouseListener doesn't get notified any more when...