Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 18608 invoked from network); 28 Nov 2007 14:32:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2007 14:32:10 -0000 Received: (qmail 86687 invoked by uid 500); 28 Nov 2007 14:31:58 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 86663 invoked by uid 500); 28 Nov 2007 14:31:58 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 86654 invoked by uid 99); 28 Nov 2007 14:31:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 06:31:58 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 14:32:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8E060714248 for ; Wed, 28 Nov 2007 06:31:44 -0800 (PST) Message-ID: <31789570.1196260304579.JavaMail.jira@brutus> Date: Wed, 28 Nov 2007 06:31:44 -0800 (PST) From: "Dmitriy Matveev (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-5214) [classlib][awt] Graphics XORMode drawing doesn't implemented MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [classlib][awt] Graphics XORMode drawing doesn't implemented ------------------------------------------------------------ Key: HARMONY-5214 URL: https://issues.apache.org/jira/browse/HARMONY-5214 Project: Harmony Issue Type: Bug Components: Classlib Environment: Linux Reporter: Dmitriy Matveev import java.awt.*; import java.awt.image.BufferedImage; import java.awt.event.*; import javax.swing.JFrame; public class XORModeTest { public static void main(String[] args) { final Font font = new Font("Dialog",Font.PLAIN, 12); JFrame f = new JFrame("XORModeTest"){ public void paint(Graphics g){ Graphics2D g2d = (Graphics2D)g; BufferedImage bi = new BufferedImage(200,200,BufferedImage.TYPE_INT_ARGB); Graphics2D g2 = bi.createGraphics(); g2.setFont(font); g2.setColor(Color.green); g2.fillRect(30, 30, 100, 100); g2.setColor(Color.red); g2.drawString("Test", 50, 80); g2d.setXORMode(Color.blue); g2d.drawImage(bi,0,0,null); } }; f.setBounds(0, 0, 300, 300); f.setVisible(true); f.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent ev) { System.exit(0); } }); } } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.