This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: slow swing application
 
Similar Threads
Urgent Help Needed.
Using SWINGS
Is Netbeans more complicant than eclipse?
java programs run slower than VB
To provide swing support for IE4 which has jre 1.1 as swing supports jre1.2