[Spring-JIRA] Created: (RCP-610) ProgressSplashScreen updates JProgressBar off of event dispatch thread.

View: New views
1 Messages — Rating Filter:   Alert me  

[Spring-JIRA] Created: (RCP-610) ProgressSplashScreen updates JProgressBar off of event dispatch thread.

by JIRA noreply@springframework.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ProgressSplashScreen updates JProgressBar off of event dispatch thread.
-----------------------------------------------------------------------

                 Key: RCP-610
                 URL: http://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


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: http://jira.springsource.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Springframework-rcp-dev mailing list
Springframework-rcp-dev@...
https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev