Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在将小程序用于应用程序。当一个条件满足时,它必须再次调用paint方法。这可以用重绘方法吗?或任何其他方法可以遵循..?? 我尝试过这样的事情,
if(j==0){ ready_status=true; repaint(); // i want paint has to call again here }
试试这个
paint(getGraphics());