|
From: Lieven D. (JIRA) <no...@sp...> - 2010-01-27 14:12:34
|
[ https://jira.springsource.org/browse/RCP-610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lieven Doclo resolved RCP-610.
------------------------------
Resolution: Fixed
Fix Version/s: 1.1.1
fixed
code is now checked for EDT presence
> ProgressSplashScreen updates JProgressBar off of event dispatch thread.
> -----------------------------------------------------------------------
>
> Key: RCP-610
> URL: https://jira.springsource.org/browse/RCP-610
> Project: Spring Rich Client Project
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.1.0
> Reporter: Adam Armistead
> Assignee: Lieven Doclo
> Priority: Critical
> Fix For: 1.1.1
>
>
> When using Substance look and feel in and a ProgressSplashScreen Substance throws a UIThreadingViolationException indicating swing components are being updated off of the event dispatch thread. Here is a stack trace.
> org.jvnet.substance.api.UiThreadingViolationException: Component state change must be done on Event Dispatch Thread
> at org.jvnet.substance.utils.SubstanceCoreUtilities.testComponentStateChangeThreadingViolation(SubstanceCoreUtilities.java:2386)
> at org.jvnet.substance.SubstanceProgressBarUI$1.stateChanged(SubstanceProgressBarUI.java:156)
> at javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:348)
> at javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:285)
> at javax.swing.DefaultBoundedRangeModel.setMaximum(DefaultBoundedRangeModel.java:202)
> at javax.swing.JProgressBar.setMaximum(JProgressBar.java:882)
> at org.springframework.richclient.progress.ProgressBarProgressMonitor.taskStarted(ProgressBarProgressMonitor.java:61)
> Most likely updating the progress bar just needs to be put on EDT to fix.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.springsource.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|