I am working on an application which pops up a JOptionPane when a certain action happens. I was just wondering if it was possible that when the JOptionPane does pop up how c
You should be able to get more information here: http://download.oracle.com/javase/tutorial/uiswing/components/dialog.html
A Dialog can be modal. When a modal Dialog is visible, it blocks user input to all other windows in the program. JOptionPane creates JDialogs that are modal. To create a non-modal Dialog, you must use the JDialog class directly.
Starting with JDK6, you can modify Dialog window modality behavior using the new Modality API. See The New Modality API for details.