Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException

SwingUtilities.invokeLater(new   Runnable(){ 
            public   void   run() { 
            // 放入方法
            } 
 });

java swing 运行 main 方法时遇到 NPE,如上解决

参考;

http://blog.csdn.net/t1dmzks/article/details/64500888