Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 39204 invoked from network); 7 Aug 2007 09:38:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2007 09:38:19 -0000 Received: (qmail 22875 invoked by uid 500); 7 Aug 2007 09:38:19 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 22856 invoked by uid 500); 7 Aug 2007 09:38: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 22847 invoked by uid 99); 7 Aug 2007 09:38:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2007 02:38:18 -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 09:38:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1E3797141E2 for ; Tue, 7 Aug 2007 02:37:59 -0700 (PDT) Message-ID: <26417512.1186479479113.JavaMail.jira@brutus> Date: Tue, 7 Aug 2007 02:37:59 -0700 (PDT) From: "Alexey Petrenko (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-4604) [classlib][awt] Images with BGColor are not drawing In-Reply-To: <14164885.1186469879109.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Petrenko resolved HARMONY-4604. -------------------------------------- Resolution: Fixed The patch has been applied. Please verify. > [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 > Assignee: Alexey Petrenko > Attachments: H-4604.patch, Harmony.JPG, RI.JPG > > > 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.