Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 33947 invoked from network); 14 Aug 2007 13:55:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Aug 2007 13:55:51 -0000 Received: (qmail 90998 invoked by uid 500); 14 Aug 2007 13:55:49 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 90975 invoked by uid 500); 14 Aug 2007 13:55:49 -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 90966 invoked by uid 99); 14 Aug 2007 13:55:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2007 06:55:49 -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, 14 Aug 2007 13:55:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 81F4971418F for ; Tue, 14 Aug 2007 06:55:30 -0700 (PDT) Message-ID: <16238235.1187099730503.JavaMail.jira@brutus> Date: Tue, 14 Aug 2007 06:55:30 -0700 (PDT) From: "Chunrong Lai (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-4630) [classlib][swing] require extra events to display up-to-date image in Fedora In-Reply-To: <3528361.1187099610513.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-4630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chunrong Lai updated HARMONY-4630: ---------------------------------- Attachment: RI.lnx.JPG Harmony.lnx.jpg > [classlib][swing] require extra events to display up-to-date image in Fedora > ---------------------------------------------------------------------------- > > Key: HARMONY-4630 > URL: https://issues.apache.org/jira/browse/HARMONY-4630 > Project: Harmony > Issue Type: Bug > Environment: Linux32(Fedora) > Reporter: Chunrong Lai > Attachments: Harmony.lnx.jpg, RI.lnx.JPG > > > This issue does not happen in Win32. > Here is a simple reproducer. > import javax.swing.*; > import java.awt.Dimension; > public class jtpTest { > public static void main(String argv[]) { > JFrame frame = new JFrame("jtpTest"); > JSplitPane split = new JSplitPane(JSplitPane.VERTICAL_SPLIT); > JTabbedPane jtp = new JTabbedPane(); > JScrollPane jsp = new JScrollPane(); > JScrollPane jsp2 = new JScrollPane(); > frame.setSize(new Dimension(400, 300)); > frame.add(split); > split.setTopComponent(jtp); > jtp.addTab("ScrollTest", jsp); > jtp.addTab("ScrollTest2", jsp2); > jtp.setSelectedIndex(jtp.getTabCount() - 1); > jtp.requestFocus(); > frame.setVisible(true); > } > } > The ScrollPane can not be displayed unless an extra valid event happens. For example, some keyboard events, mouse moving in, etc. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.