• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

slow swing application

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use a profiler to find the bottleneck.
 
Ranch Hand
Posts: 1923
Scala Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Fahad Cheruveedu
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic