harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chunrong Lai (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4630) [classlib][swing] require extra events to display up-to-date image in Fedora
Date Tue, 14 Aug 2007 13:53:30 GMT
[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



 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.


Mime
View raw message