harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5051) [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show
Date Fri, 02 Nov 2007 18:01:11 GMT

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

Alexei Zakharov commented on HARMONY-5051:

Dmitriy, about the patch you submitted. As far as I understand if you patch is applied minCompSizes
and prefCompSizes will be filled with sizes of the last component in list for given index.
And that component not necessarily will be a visible component. Therefore, you stores parameters
of some arbitrary component to the placeholder for visible component's data. Is this a desired
behavior? Could you please explain? I can be missing something of course.

> [classlib][swing][EIOffice]popmenu's method getPreferredSize() returned 0,0 before show
> ---------------------------------------------------------------------------------------
>                 Key: HARMONY-5051
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5051
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: evermore
>            Assignee: Alexei Zakharov
>         Attachments: popup.jar, PopupMenu.patch
> add popmenu to panel
> before invok JPopMenu.show(),panel's preferred size is 0,0

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message