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] Updated: (HARMONY-4609) [classlib][swing] fixed default component in JSplitPane
Date Tue, 07 Aug 2007 14:11:59 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chunrong Lai updated HARMONY-4609:
----------------------------------

    Attachment: Harmony.JPG
                RI.JPG

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


Mime
View raw message