Article View: borland.public.jbuilder.java.api
Article #3499Re: BUG: setXORMode()
From: Rich Wilkman
Date: Tue, 09 Dec 1997 00:00
Date: Tue, 09 Dec 1997 00:00
31 lines
1291 bytes
1291 bytes
Manfred: The problem with XOR (at least on WinTel) was fixed in JDK 1.1.4, so as long as where the application runs uses that JDK, you have a fix. It's annoying that it doesn't appear in JBuilder, but being based on 1.1.3 makes us display that problem. -Rich Manfred Grebler wrote: > > This seems to be a bug in JBuilder. The following code works > as expected in JDK and Communicator. JBuilder however always > draws in white. (Background color ist white, too.) > > g.setXORMode(Color.white); > g.setColor(Color.black); > if (oldrect!=null) > g.drawRect(oldrect.x, oldrect.y, oldrect.width, oldrect.height); > g.drawRect(rect.x, rect.y, rect.width, rect.height); > > -- > Manfred Grebler > iXOS Software AG - Product Development > Bretonischer Ring 12 > D-85630 Grasbrunn > Germany > > Phone: +49 89 46005-340 > E-Mail: manfred.grebler@ixos.de
Technical Details
Message-ID:
<348D8D75.C32ECF32@corp.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<348D2629.5072@privat.post.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,214db217c8e2c65b X-Google-Attributes: gid1089d0,public From: Rich Wilkman <rwilkman@corp.borland.com> Subject: Re: BUG: setXORMode() Date: 1997/12/09 Message-ID: <348D8D75.C32ECF32@corp.borland.com> X-Deja-AN: 296664953 References: <348D2629.5072@privat.post.de> Organization: None Newsgroups: borland.public.jbuilder.java.api