Java program runs smoothly in Netbeans but slowly in Eclipse and as an executed jar. WTF?
Posted
by
comp sci balla
on Stack Overflow
See other posts from Stack Overflow
or by comp sci balla
Published on 2011-01-07T16:51:02Z
Indexed on
2011/01/07
16:54 UTC
Read the original article
Hit count: 195
java
|Performance
A java program that does frequent swing/awt painting animation (but nothing more advanced than g.fillOval(...)) runs at a consistent 60fps in Netbeans, and at about 6fps when ran in Eclipse or executed as a jar file from a unix terminal. The program was developed in Netbeans and is run-of-the-mill desktop application (not webstart or japplet or ...). This is occurring in Ubuntu 10 with java 1.6. How is this possible? The universe no longer makes sense to me.
© Stack Overflow or respective owner