Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 69551 invoked from network); 3 Sep 2007 16:09:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2007 16:09:20 -0000 Received: (qmail 7394 invoked by uid 500); 3 Sep 2007 16:09:15 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 7298 invoked by uid 500); 3 Sep 2007 16:09:15 -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 7289 invoked by uid 99); 3 Sep 2007 16:09:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 09:09:15 -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; Mon, 03 Sep 2007 16:10:31 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 228A3714208 for ; Mon, 3 Sep 2007 09:08:58 -0700 (PDT) Message-ID: <24015493.1188835738114.JavaMail.jira@brutus> Date: Mon, 3 Sep 2007 09:08:58 -0700 (PDT) From: "Alexey Petrenko (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-4700) [classlib][awt] unable to draw a GIF image through Windows Remote Desktop In-Reply-To: <9444101.1188548312389.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-4700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Petrenko resolved HARMONY-4700. -------------------------------------- Resolution: Fixed The patch has been applied. Please verify > [classlib][awt] unable to draw a GIF image through Windows Remote Desktop > ------------------------------------------------------------------------- > > Key: HARMONY-4700 > URL: https://issues.apache.org/jira/browse/HARMONY-4700 > Project: Harmony > Issue Type: Bug > Components: Classlib > Environment: Win 2003 + remote desktop > Reporter: Andrey Pavlenko > Assignee: Alexey Petrenko > Attachments: H-4700.patch, test.jar > > > The following test demonstrates that drawing of GIF images through remote desktop does not work. JPEG and PNG images works fine. > import java.awt.Frame; > import java.awt.Graphics; > import java.awt.Image; > import java.awt.MediaTracker; > import java.awt.Toolkit; > public class Test { > public static void main(String[] args) throws Exception { > final Image gif = Toolkit.getDefaultToolkit().createImage("test.gif"); > final Image jpg = Toolkit.getDefaultToolkit().createImage("test.jpg"); > final Image png = Toolkit.getDefaultToolkit().createImage("test.png"); > final Frame f = new Frame() { > @Override > public void paint(final Graphics g) { > g.drawImage(gif, 40, 30, this); > g.drawImage(jpg, 40, 90, this); > g.drawImage(png, 40, 150, this); > } > }; > final MediaTracker tracker = new MediaTracker(f); > tracker.addImage(gif, 1); > tracker.addImage(jpg, 2); > tracker.addImage(png, 3); > tracker.waitForAll(); > f.setSize(200, 220); > f.setVisible(true); > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.