public void mouseReleased(MouseEvent e) {
        if (!hasFocus) {
            return;
        }

        boolean repaint = tabRowPainter.mouseReleased(e);

        if (!repaint) {
            repaint = toolbarPainter.mouseReleased(e);
        }

    }
public void mouseReleased ( MouseEvent e ) { if ( ! hasFocus ) { return ; } boolean repaint = tabRowPainter . mouseReleased ( e ) ; if ( ! repaint ) { repaint = toolbarPainter . mouseReleased ( e ) ; } }
the event was consumed - DO NOT PAINT