You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Petrenko (JIRA)" <ji...@apache.org> on 2007/08/23 10:16:30 UTC
[jira] Assigned: (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:all-tabpanel ]
Alexey Petrenko reassigned HARMONY-4630:
----------------------------------------
Assignee: Alexey Petrenko
> [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
> Assignee: Alexey Petrenko
> Attachments: H-4630.patch, 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.