Java Alert Window Until Method Finishes Execution In Swing Stack

Java Alert Window Until Method Finishes Execution In Swing Stack