aspose file tools*
The moose likes Performance and the fly likes slow swing application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "slow swing application" Watch "slow swing application" New topic
Author

slow swing application

Fahad Cheruveedu
Greenhorn

Joined: Aug 29, 2005
Posts: 5
swing desktop application is seems to be very slow, can you sugest tip to improve the perfomance, I am using jdbc odbc, and JRE 1.5
After some time application is very slow

Many thanks for your time and consideration
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Use a profiler to find the bottleneck.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Are you sure there is no odbc-less jdbc-driver for your Database?
Often people use odbc, because it was recommended in the earliest tutorials and was traded from one to another.


http://home.arcor.de/hirnstrom/bewerbung
Fahad Cheruveedu
Greenhorn

Joined: Aug 29, 2005
Posts: 5
I used profiler and most time cunsumming thread are
sun.java2D.Disposer --> java.lang.ref.RefrenceQueue.remove(long l)
java.awt.EventDispatchThread --> java.awt.EventQueue.dispatchEvent(java.awt.AwtEvent evt)
sun.awt.AwtAutoShutdown.run()
sun.awt.windows.WToolkit.run()
javax.swing.TimerQueue.run()

I am sure that some body can assisst me on this problem

Many thanks for your time and consideration
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: slow swing application