Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 89353 invoked from network); 14 Sep 2007 11:34:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Sep 2007 11:34:58 -0000 Received: (qmail 52790 invoked by uid 500); 14 Sep 2007 11:34:50 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 52769 invoked by uid 500); 14 Sep 2007 11:34:50 -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 52760 invoked by uid 99); 14 Sep 2007 11:34:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2007 04:34:50 -0700 X-ASF-Spam-Status: No, hits=-99.6 required=10.0 tests=ALL_TRUSTED,SUBJECT_FUZZY_TION 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; Fri, 14 Sep 2007 11:36:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5402F714159 for ; Fri, 14 Sep 2007 04:34:33 -0700 (PDT) Message-ID: <16505467.1189769673945.JavaMail.jira@brutus> Date: Fri, 14 Sep 2007 04:34:33 -0700 (PDT) From: "Andrey Pavlenko (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-4798) [classlib][swing] JButton looks very different from RI's In-Reply-To: <20986118.1189769312404.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-4798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrey Pavlenko updated HARMONY-4798: ------------------------------------- Attachment: Harmony.PNG RI.PNG > [classlib][swing] JButton looks very different from RI's > -------------------------------------------------------- > > Key: HARMONY-4798 > URL: https://issues.apache.org/jira/browse/HARMONY-4798 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Andrey Pavlenko > Attachments: Harmony.PNG, RI.PNG > > > There are many differences with RI's implementation of JButton: colors, gradient, focus painting, rollover painting. The following code demonstrates the issue: > import javax.swing.JButton; > import javax.swing.JFrame; > import javax.swing.WindowConstants; > public class Test { > public static void main(String[] args) throws Exception { > final JFrame f = new JFrame(); > final JButton b1 = new JButton("B1"); > final JButton b2 = new JButton("B2"); > final JButton b3 = new JButton(); > f.add(b1, "West"); > f.add(b2, "East"); > f.add(b3, "Center"); > f.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); > f.setSize(300, 300); > f.setVisible(true); > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.