SHARE
TWEET

JFPrinci

a guest Apr 20th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static void abrirFormularioThread() {
  2.         Runnable r = new Runnable() {
  3.             @Override
  4.             public void run() {
  5.                 new DrawRect().setVisible(true);
  6.             }
  7.         };
  8.         new Thread(r).start();
  9. }
  10.  
  11. private void botaoActionPerformed(java.awt.event.ActionEvent evt) {                                        
  12.         abrirFormularioThread();
  13.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top