https://issues.apache.org/bugzilla/show_bug.cgi?id=51861
--- Comment #27 from Sebb <[email protected]> 2011-09-27 15:37:50 UTC --- (In reply to comment #26) > (In reply to comment #25) > > (In reply to comment #24) > > > Created attachment 27602 [details] > > > Fix to issue computing everything said in comments > > > > > > Hello, > > > Last version, hope it will match what you are expecting. > > > > It sort of works, however there are some issues: > > - it's risky saving the selection in the field selectedTPIndex - too easy to > > get out of step. > What do you mean by get out of step ? It's a copy of postContentTabbedPane.getSelectedIndex(). Whenever code maintains a copy of something there's a possibility that a code path will fail to keep the copies in step. > Do you see a better solution ? It only seems to be needed to determine whether or not the tab is being changed; surely there is a way to detect this from the ChangeEvent? -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
