Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 89012 invoked from network); 7 Aug 2007 06:58:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2007 06:58:20 -0000 Received: (qmail 5259 invoked by uid 500); 7 Aug 2007 06:58:19 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 5168 invoked by uid 500); 7 Aug 2007 06:58:19 -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 5159 invoked by uid 99); 7 Aug 2007 06:58:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2007 23:58:19 -0700 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; Tue, 07 Aug 2007 06:58:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1D44E7141E2 for ; Mon, 6 Aug 2007 23:57:59 -0700 (PDT) Message-ID: <14164885.1186469879109.JavaMail.jira@brutus> Date: Mon, 6 Aug 2007 23:57:59 -0700 (PDT) From: "Igor V. Stolyarov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-4604) [classlib][awt] Images with BGColor are not drawing 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] Images with BGColor are not drawing --------------------------------------------------- Key: HARMONY-4604 URL: https://issues.apache.org/jira/browse/HARMONY-4604 Project: Harmony Issue Type: Bug Components: Classlib Environment: Windows Reporter: Igor V. Stolyarov Here is simple reproducer: import java.awt.*; import java.awt.image.BufferedImage; import java.awt.event.*; import javax.swing.JFrame; public class Test { public static void main(String[] args) { final Font font = new Font("Dialog",Font.PLAIN, 12); JFrame f = new JFrame("Test"){ 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.red); g2.fillRect(50,50,100,100); g2d.drawImage(bi,0,0, Color.blue, null); } }; f.setBounds(0, 0, 200, 200); 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.