The Artima Developer Community
Sponsored Link

Java Buzz Forum
An Exampe of Multi-threading Swing Code

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Scott Delap

Posts: 1154
Nickname: scottdelap
Registered: Sep, 2004

Client / Server application developer.
An Exampe of Multi-threading Swing Code Posted: May 13, 2005 12:29 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Scott Delap.
Original Post: An Exampe of Multi-threading Swing Code
Feed Title: ClientJava.com
Feed URL: http://www.clientjava.com/archives/wireless_mobile.rdf
Feed Description: Client/Desktop Related Java Development
Latest Java Buzz Posts
Latest Java Buzz Posts by Scott Delap
Latest Posts From ClientJava.com

Advertisement

Slobodan blogs on converting a long running command in his Swing application to be multi-threaded. Since he is using his progress components to block UI interaction while this process is running, it looks like he has things running synchronously. Foxtrot would also be a valid option in this case. However, it would be missing the pretty notification effects he is displaying.

Swing Scalability
I may not post on a regular basis as I have been busy reading other peoples blogs. So much stuff, so little time. One of the interesting discussions is about Swing and SWT. Don't have links handy, should be easy to find. The perennial criticism of Swing is that it is slow. Again, there are plenty of articles and blogs, so I won't repeat what has already been said elsewhere. Instead, I'll show you an example of a performance issue and how I tried to solve it in Swing.

Some time ago I talked about a set of progress components. I thought I knew of all (most) of the commands in my app that take a long time and made use of the component therein. Then I realized that are still more commands which are not so obvious, as their initial performance may seem fine (quick)...

Read: An Exampe of Multi-threading Swing Code

Topic: Asking for Mustang Feeback: Table Sorting Previous Topic   Next Topic Topic: Data Binding in XUL - Lessons for JDNC

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use