You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Chunrong Lai (JIRA)" <ji...@apache.org> on 2007/08/07 16:09:59 UTC

[jira] Created: (HARMONY-4609) [classlib][swing] fixed default component in JSplitPane

[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



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.


[jira] Updated: (HARMONY-4609) [classlib][swing] fixed default component in JSplitPane

Posted by "Chunrong Lai (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (HARMONY-4609) [classlib][swing] fixed default component in JSplitPane

Posted by "Chunrong Lai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: h4609.fixed.patch

> [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: h4609.fixed.patch, 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.


[jira] Assigned: (HARMONY-4609) [classlib][swing] fixed default component in JSplitPane

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko reassigned HARMONY-4609:
----------------------------------------

    Assignee: Alexey Petrenko

> [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
>            Assignee: Alexey Petrenko
>         Attachments: h4609.fixed.patch, 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.


[jira] Resolved: (HARMONY-4609) [classlib][swing] fixed default component in JSplitPane

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-4609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko resolved HARMONY-4609.
--------------------------------------

    Resolution: Fixed

The patch has been applied.
Please verify.

> [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
>            Assignee: Alexey Petrenko
>         Attachments: h4609.fixed.patch, 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.