my swing application is too slow

Hello

my application is an add-in swing application. It is connect with a posptgres database to show and edit data in this database. The application has about 10 frames and dialog. It run very slow. It may take 20-30 seconds to close a dialog or frame.

Do you have any hint or suggestion so I can increase the speed of the application.

I already increase memory to 512m when run the application by using

-Xms512m

I really need help about this issue. Could you please help

regards

suhu

[537 byte] By [suhua] at [2007-11-27 5:22:26]
# 1
Stop doing all the DB accessing in the event thread?
cotton.ma at 2007-7-12 11:47:50 > top of Java-index,Java Essentials,Java Programming...
# 2
Profile your application.
YoGeea at 2007-7-12 11:47:50 > top of Java-index,Java Essentials,Java Programming...