Created
          February 6, 2013 19:35 
        
      - 
      
- 
        Save fridolin-koch/4725120 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | public void error(final String errorMsg) { | |
| SwingUtilities.invokeLater(new Runnable() | |
| { | |
| public void run() { | |
| JOptionPane.showMessageDialog( | |
| DownloadFrameThreaded.this, errorMsg, "Error", JOptionPane.ERROR_MESSAGE | |
| ); | |
| } | |
| }); | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment