after use setXORmode, how to return to the default state

Hello, All,I find after i use the API setXORMode, I can't zoom or pan the image ,the background color behind the image become strange.what API should i use to return to the original state after i use the setXORMode.thanks
[236 byte] By [wentiduoduoa] at [2007-9-28 15:08:50]
# 1
It's will be very usefull for you to search the archive area when youpost :)// mouse is dragged, draw element in new locationg.setXORMode (Color.white);g.draw (newline);...// "undraw" previous lineg.setXORMode (Color.white);g.draw
da-alexja at 2007-7-12 11:52:48 > top of Java-index,Security,Cryptography...
# 2
Have a look of this thread : http://forum.java.sun.com/thread.jsp?hread=215597&forum=20&message=745021
da-alexja at 2007-7-12 11:52:48 > top of Java-index,Security,Cryptography...
# 3
Eh? The correct answer is to call setPaintMode().
YATArchivista at 2007-7-12 11:52:48 > top of Java-index,Security,Cryptography...