How can I trap a "mouse over" event for a component?

Jay Detwiler

The MouseListener interface includes notification for "mouse over" with a mouseEntered event. Implement the MouseListener interface (or extend the MouseAdapter class) and add it to the component you're interested in.

For example:

component.addMouseListener (new MouseAdapter () {
  public void mouseEntered (MouseEvent event) {
    System.out.println ("I got a mouse over");