I am working on a Java Swing Based application using Hibernate. And i have used NetBeans IDE to build my application.
I am having around 13 sub-modules. I have used JInternalFrames to build those sub-modules. And 4 reports which use JasperViewer.
While loading my application it takes around 2 – 3 minutes. And when switching from one module to another modules it takes much time to load each modules.
Now i have to check following things
-
How to check Memory and CPU of my whole Swing application and which class takes much CPU and Memory usage?
-
How to test my application using simple approaches?
-
How to increase the performance of my swing application?
Startup times like these are not simply caused by having-a-big-gui-application. I think the problem is your database access. Questions come up:
To your questions: