question: private static void showQueryContextHint ( Editor editor , String hintText ) { final HintManagerImpl hintManager = HintManagerImpl . getInstanceImpl ( ) ; final JComponent label = HintUtil . createInformationLabel ( hintText ) ; final LightweightHint lightweightHint = new LightweightHint ( label ) ; final Point hintPosition = hintManager . getHintPosition ( lightweightHint , editor , HintManager . UNDER ) ; hintManager . showEditorHint ( lightweightHint , editor , hintPosition , 0 , 2000 , false , HintManager . UNDER ) ; }
target:  Shows a query context hint under the current caret position. The hint hides after a few seconds or when the user interacts with the editor