|
From: Johannes S. (JIRA) <no...@sp...> - 2008-01-29 12:33:48
|
[ http://jira.springframework.org/browse/RCP-528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_31368 ]
Johannes Schneider commented on RCP-528:
----------------------------------------
Hmm... I can't reproduce the problem anymore...
It was a quite complex scenario related to a TabbedDialogPage.
I think there might be a problem:
That addition of a tab to the JTabbedPane results in notification of listeners. But the tab is added to the list of tabs after that notification.
So if a notified listeners calls "ExtTabbedPane#getTab" we might get an IndexOutOfBoundsException or get the wrong index.
> Prepare ExtTabbedPane for late addition of tabs
> -----------------------------------------------
>
> Key: RCP-528
> URL: http://jira.springframework.org/browse/RCP-528
> Project: Spring Framework Rich Client Project
> Issue Type: Improvement
> Affects Versions: 1.0.0
> Reporter: Johannes Schneider
> Assignee: Peter De Bruycker
> Attachments: allows_the_late_addition_of_tabs_.patch
>
>
> adding a tab when the pane is shown results in exceptions.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|