3D编程指南第一部分:快速进入移动JAVA 3D编程世界
日期:2008年4月9日 作者: 查看:[大字体
中字体 小字体 ]
done = false; // Start myThread.start(); } /** Run, runs the whole thread. Also keeps track of FPS */ public void run() { while(running) { try { // Call the process method (computes keys) process(); // Draw everything draw(getGraphics()); flushGraphics(); // Sleep to prevent starvation try{ Thread.sleep(30); } catch(Exception e) {} } catch(Exception e) { reportException(e); } } // Notify completion done = true; } /** * @param e */ private void reportException(Exception e) { System.out.println(e.getMessage());
复制本页网址和标题,发送给你QQ/Msn的好友一起分享
上一篇:使用Java蓝牙无线通讯技术API(第一部分 -API概览)(1)
下一篇:java多线程设计模式详解之四
相关文章:
相关软件: