Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.33 KB | None | 0 0
  1.         SwingUtilities.invokeLater(new Runnable() {public void run() {
  2.             //TODO: doesn't time out the status
  3.             String m = Messaging.message(null);
  4.             Confirmation c = Messaging.qconfirm(null);
  5.            
  6.             if (m != null)
  7.             {
  8.                 lblStatus.setText(m);
  9.             }
  10.             if (c != null)
  11.             {
  12.                 //TODO
  13.             }
  14.             SwingUtilities.invokeLater(this);
  15.         }});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement