在自定义的class中重载paint();再自定义一个方法如setrepaint();在setrepaint()中
调用repaint();发现setrepaint()被执行了两遍,同时重绘两次界面.why??
我这么也没想明白.注:j2me版本,ntt 公司出品.
my email address:purples@yeah.net
welcome commuication with me by e-mail for this question.
...全文
664打赏收藏
repaint()函数要做两遍?
在自定义的class中重载paint();再自定义一个方法如setrepaint();在setrepaint()中 调用repaint();发现setrepaint()被执行了两遍,同时重绘两次界面.why?? 我这么也没想明白.注:j2me版本,ntt 公司出品. my email address:purples@yeah.net welcome commuication with me by e-mail for this question.