程序里确实使用了很多applicationDirPath(),唯有一个类使用时报这个,把那个类注释掉就不报了,什么意思呢,我是在主窗体的TimerEvent里初始化的那个类。总不能给个Debug版本让别人用吧。
Learn how to use lazy instantiation and eager instantiation in your Java programs. Which approach is better? It depends on the scenario. When instantiating Java objects that are expensive in terms of ...