Hi Dmitri,
what application you're seeing this with?
In house MRP/CRM applications, very standard Swing, JGoodies looks.
Can you reproduce this with the jdk demos (like
ke SwingSet2)?
I haven't tried SwingSet, but my NetBeans 5.0 does this once in a while so I
don't think it's the app.
Hi Garrett,
It's really tough to tell what could be going on without having a
complete testcase to try out. Since in this case it looks like
Graphics2D.fill(Rectangle) is slower in 1.6 than in 1.5, perhaps you
could extract a small microbenchmark that times only that particular
operation, and
Strange. Can be also mathlab problem. Could you try to compile and run
following:
[code]
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;
import java.awt.GridLayout;
import javax.swing.JWindow;
import javax.swing.JLabel;
import java.awt.event.MouseAdapter;
import
Not exactly sure on how to execute the code you attached, but you are
right about matlab having its own JVM. And that is indeed 1.4.2 can
update it to 1.5.10 but then bug still remains. When upgrading to 1.6
matlab spits out a bunch of errors. so seems matlab is the limiting
factor here and not
Hello,
thanks for the info.
Could you try running your app with
1. -Dswing.bufferPerWindow=false
2. -Dsun.java2d.noddraw=true
See if any of these flags help.
Also, here's a desktop java troubleshooting guide:
Dmitri Trembovetski wrote:
Also, here's a desktop java troubleshooting guide:
http://java.sun.com/javase/6/webnotes/trouble/TSG-Desktop/html/toc.html
I didn't know about this. What a great resource! Thanks.
-David