Java Graphics禁用xor模式

2xM*_*Max 4 java graphics xor-drawing

我知道g.setXORMode(Color c)可以启用XOR模式绘制.但是如何在setXORMode调用后禁用此模式?