AWT ?  Swing ?  SWT ???一般都有 setXOR(false)  类似这样吧

解决方案 »

  1.   

    java.awt.Graphics.setXORMode(java.awt.Color) 后如何恢复(即簿用xormod)
      

  2.   

    试试 setXORMode(Color.write)  //白色
      

  3.   

    setPaintModepublic abstract void setPaintMode()    Sets the paint mode of this graphics context to overwrite the destination with this graphics context's current color. This sets the logical pixel operation function to the paint or overwrite mode. All subsequent rendering operations will overwrite the destination with the current color.
      

  4.   

    setPaintMode(),好象回答对了,谢谢,我会式式看