set glass pane visibl invis mous cursor set accordingli param valu document set visibl valu valu track visibl window associ compon us event filter window window swing util window compon activ compon window activ compon window window window activ compon set mous cursor hourglass mode level ancestor set cursor cursor predefin cursor cursor wait cursor activ compon window focu owner start receiv event consum necessari toolkit toolkit add awt event listen awt event kei event mask request focu activ glass pane capabl set visibl valu stop receiv event toolkit toolkit remov awt event listen deactiv glass pane capabl set visibl valu set mous cursor regular pointer level ancestor level ancestor set cursor 