You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Igor V. Stolyarov (JIRA)" <ji...@apache.org> on 2007/08/15 12:23:30 UTC

[jira] Commented: (HARMONY-4630) [classlib][swing] require extra events to display up-to-date image in Fedora

    [ https://issues.apache.org/jira/browse/HARMONY-4630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519917 ] 

Igor V. Stolyarov commented on HARMONY-4630:
--------------------------------------------

Hello Chunrong.

Could you try your reproducer on new Harmony build. I easy reproduced that issue on build r563769, but that issue doesn't reproduce on r566078.

Thanks,
Igor

> [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.