阅读背景:

在paint()中调用repaint()会导致无限递归吗?

来源:互联网 

I have been developing a java application related to graphics . From my understanding everytime i use the repaint() method anywhere in the code , the overridden paintComponent is called . But i have also used repaint() inside the paintComponent itself .why is it not leading to infinite recursion ? the code works fine .I have been developing a java application relat




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: