Wait cursor and disable java application
问题 I want to have the user press a button to kick off a background thread. While the thread is processing, I want two things to happen: 1) A WAIT_CURSOR should be displayed. 2) The application should not respond to mouse events. As per the setCursor documentation "This cursor image is displayed when the contains method for this component returns true for the current cursor location, and this Component is visible, displayable, and enabled. ". I want my application to be disabled while this