Added: 9 months ago
From: FullOfJavaBeans
Views: 1,262
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (1)

Sign In or Sign Up now to post a comment!
  • I'm pretty sure you should invoke all swing-related statements on the AWT dispatch thread. Thus: JOptionPane.showMessageDialog(­"What is your name"), should be enclosed in SwingUtilities.invokeLater(new Runnable(){

    public void run() { // put it here! }});

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more