/** * Changes the <code>mouseInside</code> property. The property tells whether * the mouse is currently inside the border of the {@link #getOwner() owner} * or not. Clients should not call this method unless they handle all * mouse events. * @param mouseInside whether the mouse is inside */ protected void setMouseInside( boolean mouseInside ) { if( this.mouseInside != mouseInside ){ this.mouseInside = mouseInside; for( BasicButtonModelListener listener : listeners() ){ listener.mouseInside( this, mouseInside ); } changed(); } }