Re: Applications with swix very slow

Brennan Stehling <[email protected]>
Newsgroups gmane.comp.embedded.carlsbad-cubes
Message-ID <[email protected]>
The Swing implementation for most platforms has been
sped up greatly in Java 1.4 using various techniques. 
But one common problem that Java developers stumble
over in Swing is the fact that a single thread is
processing all events.  When a button is pressed and
an action is triggered which may take a while to
complete.  This action will cause the rest of the
Swing application to stall, which leads users to
believe that Java is slow.  Instead you can provide a
more elegant thread model which exports processing
outside the Swing thread so there is no delay and the
GUI stays responsive.  The following article goes into
great detail to explain the problem and explores a
solution.  I am sure you will be able to to apply the
solution to SwixML.

http://today.java.net/pub/a/today/2003/10/24/swing.html

- Brennan Stehling
www.spiderlogic.com

--- masukomi <[email protected]> wrote:
> They should be no slower than any other Swing app.
> Swing is inherently a bit slow though.
> 
> converting the XML to Swing classes should be so
> fast enough to be 
> nearly unnoticeable though.
> 
> We use it every day at work with dynamically
> generated XML files which 
> should add yet another step of slowness but we just
> don't notice it at 
> all.
> 
> Odds are it's not SWIXML that you are noticing as
> slow... it's Swing.
> 
> -Kate
> 
> 
> On Nov 11, 2003, at 9:38 AM, Andrés Mauricio Marín
> Restrepo wrote:
> 
> > HI!
> >
> > I have a problem because all applications with
> swix and swing are very 
> > slow.
> > Why??? and someone fnow the solution for that.
> >
> > THANKS!!!
> >
> > -------------------------------------------------
> > Andrés Mauricio Marín R.
> > Desarrollador Internet II
> > Proyecto SICE
> > Contraloría General de la República
> > 571 5600300 ext. 1288
> >
> >
> > _______________________________________________
> > Forum mailing list
> > [email protected]
> >
>
http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com
> 
> 
> _______________________________________________
> Forum mailing list
> [email protected]
>
http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.