harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey A. Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2189) [classlib][swing] j.s.text.CompositeView.getInsideAllocation doesn't call inset getters
Date Wed, 15 Nov 2006 09:25:39 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2189?page=all ]

Alexey A. Ivanov updated HARMONY-2189:

    Attachment: H2189-CompositeView.patch

Fixes the issue.

Also adds @Override to all overridden methods.

> [classlib][swing] j.s.text.CompositeView.getInsideAllocation doesn't call inset getters
> ---------------------------------------------------------------------------------------
>                 Key: HARMONY-2189
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2189
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>         Attachments: H2189-CompositeView.patch, H2189-CompositeViewTest.patch
> javax.swing.text.CompositeView.getInsideAllocation() returns the inside allocation, i.e.
removes inset area from an allocation given. Since any of get{Top, Left, Bottom, Right}Inset()
methods can be overridden, getInsideAllocation() should call them to fetch the insets rather
than directly using fields where inserts are stored.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message