This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi Suppose curFrame is your current working JFrame and myComp is the component whcih has focus. Right before your worker starts, do curFrame.getGlassPane().setVisible(true); //block mouse input curFrame.getGlassPane().requestFocus(); //block keyboard input After the worker finishes, do curFrame.getGlassPane().setVisible(false); myComp.requestFocus(); //set focus back to get keyboard input. Howard
subject: How do i block user inputs till swing worker terminates ?