Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 5420 invoked from network); 8 Aug 2007 13:47:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Aug 2007 13:47:20 -0000 Received: (qmail 24190 invoked by uid 500); 8 Aug 2007 13:47:19 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 24079 invoked by uid 500); 8 Aug 2007 13:47:18 -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 24070 invoked by uid 99); 8 Aug 2007 13:47:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Aug 2007 06:47: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; Wed, 08 Aug 2007 13:47:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2A732714159 for ; Wed, 8 Aug 2007 06:46:59 -0700 (PDT) Message-ID: <21260337.1186580819148.JavaMail.jira@brutus> Date: Wed, 8 Aug 2007 06:46:59 -0700 (PDT) From: "Alexey Petrenko (JIRA)" To: commits@harmony.apache.org Subject: [jira] Assigned: (HARMONY-4609) [classlib][swing] fixed default component in JSplitPane In-Reply-To: <3139473.1186495799068.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-4609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Petrenko reassigned HARMONY-4609: ---------------------------------------- Assignee: Alexey Petrenko > [classlib][swing] fixed default component in JSplitPane > ------------------------------------------------------- > > Key: HARMONY-4609 > URL: https://issues.apache.org/jira/browse/HARMONY-4609 > Project: Harmony > Issue Type: Bug > Environment: win32 > Reporter: Chunrong Lai > Assignee: Alexey Petrenko > Attachments: h4609.fixed.patch, Harmony.JPG, RI.JPG > > > Here is a simple reproducer. > import javax.swing.JFrame; > import javax.swing.JSplitPane; > import javax.swing.JTextField; > import java.awt.Dimension; > public class Test { > public static void main (String argv[]) { > JFrame frame = new JFrame("SplitPaneTest"); > JSplitPane split = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT); > JTextField jtp = new JTextField(); > frame.setSize(new Dimension(100, 100)); > split.setLeftComponent(jtp); > frame.add(split); > frame.setVisible(true); > } > } > The textfield can not be displayed because Harmony only displays the rightComponent by default. > It is also not proper to change the default component to leftComponent because the rightComponent would not be displayed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.