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 A. Ivanov (JIRA)" <ji...@apache.org> on 2006/12/15 15:39:21 UTC

[jira] Created: (HARMONY-2751) [classlib][swing] j.s.undo.UndoManager.getUndoOrRedoPresentationName returns incorrect value

[classlib][swing] j.s.undo.UndoManager.getUndoOrRedoPresentationName returns incorrect value
--------------------------------------------------------------------------------------------

                 Key: HARMONY-2751
                 URL: http://issues.apache.org/jira/browse/HARMONY-2751
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Alexey A. Ivanov
            Priority: Minor


javax.swing.undo.UndoManager.getUndoOrRedoPresentationName returns "Redo" when addEdit() has been called twice on an UndoManager.

Note: using UndoOrRedo methods makes sense only in situations where setLimit(1) was called.

-- 
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

        

[jira] Updated: (HARMONY-2751) [classlib][swing] j.s.undo.UndoManager.getUndoOrRedoPresentationName returns incorrect value

Posted by "Alexey A. Ivanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2751?page=all ]

Alexey A. Ivanov updated HARMONY-2751:
--------------------------------------

    Attachment: HTest2751.java

This demo application shows the difference in output.

-------- Harmony -------
Redo
Undo
-------------

------- RI -------
Undo
Redo
--------------

> [classlib][swing] j.s.undo.UndoManager.getUndoOrRedoPresentationName returns incorrect value
> --------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2751
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2751
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey A. Ivanov
>            Priority: Minor
>         Attachments: HTest2751.java
>
>
> javax.swing.undo.UndoManager.getUndoOrRedoPresentationName returns "Redo" when addEdit() has been called twice on an UndoManager.
> Note: using UndoOrRedo methods makes sense only in situations where setLimit(1) was called.

-- 
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