question: @ Override public void mouseClicked ( MouseEvent e ) { if ( SwingUtilities . isLeftMouseButton ( e ) ) { if ( e . getClickCount ( ) == 2 ) { fixedHoverEntry = false ; setFixedStartAt ( hoverEntry ) ; } else { long actualHoverEntry = findHoverEntry ( e . getPoint ( ) ) ; fixedHoverEntry = actualHoverEntry != - 1 ; if ( hoverEntry != actualHoverEntry ) { updateHoverEntry ( e . getPoint ( ) ) ; } } } }
target:  Toggle displaying stuff on mouse-click. Left-click: Keep info displayed even when outside the component Right-click: Switch between 0-max and min-max rendering