sorry if this has already been posted. and if not, i dont know how to file a bug report.
something in 1.5 (havent tested 1.4) causes an app to draw over the screen if the java program is terminated from the dos box using control - c (or closing the dos box) if it is in the middle of drawing onto a canvas. havent tried this with anything but canvas.
here’s a screenshot of what happens and the source so you can check it out yourself.
screen: http://www.adam.com.au/kellyjones/picsused/canvasSpill.gif
http://www.adam.com.au/kellyjones/java/CanvasTest.java – has main
http://www.adam.com.au/kellyjones/java/TestShape.java – something to keep track of a shape.
i think it might be because between killing the window and actually terminating the program, the paint method probably gets a few calls in…
edit – this is a basic test app i was messing with. it doesnt use bufferstrategy or anything. just draws onto the component. works with JPanel as well, so it’s not a canvas issue but a Component issue.