技巧:谈谈J2ME解决手机Game的内存问题 日期:2006-4-18 9:55:14 来源: 作者: 浏览:次
1. g.drawString(“score=”+score,50,50,Graphics.TOP|Graphics。LEFT)? 或是2.for (Enumeration e = v.elements() ;e.hasMoreElements() ;){System.out.println(e.nextElement()); }
String scoreStr=“score=”+score;g.drawString(scoreStr,50,50,Graphics.TOP|Graphics.LEFT);
boolean hasMoreElement();Object nextElement();
for (int loop ; loop System.out.println(vector.elementAt(loop));}
j2me网络实战指南