Open GoogleCodeExporter opened 9 years ago
Thanks, Matt.
Original comment by jgw@google.com
on 24 Jun 2011 at 8:09
I would suggest changing the playn.java.JavaCanvas method clear() body to:
gfx.setColor(new Color(currentState().fillColor));
gfx.fillRect(0, 0, width, height);
or similarly, instead of (the current implementation):
gfx.clearRect(0, 0, width, height);
as per the JavaDoc for the java.awt.Graphics clearRect(int, int, int, int)
method:
http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics.html#clearRec
t(int, int, int, int)
Original comment by par.ekl...@gmail.com
on 5 Nov 2011 at 5:03
Original issue reported on code.google.com by
mmast...@gmail.com
on 24 Jun 2011 at 8:06