I'm writting a little application and I'm triying to give it a feature where the user can move the Mouse over an component(JButton) and gets a little explanation what the Button does if pressed. I have an Rectangle for every component I use to set the bounds of the component and in the mouseMoved method an if statment using the contains method on rectangles with the mouseEvent.getPoint() method. I hope that explanation is not to complicated. I noticed that as soon the mouse moves on top of an JButton this component has focus over the mouseMotionListener event. That means the mouseMoved method is never called if the cursor is on top of an JButton. Did someone encounter an similar problem and knows an fix for that.