Re: [JAVA2D] Black rectangles on screen

2007-01-17 Thread java2d
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.

Re: [JAVA2D] Observing slower painting on 1.6?

2007-01-17 Thread Chris Campbell
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

Re: [JAVA2D] Fullscreen Image Dual-Head

2007-01-17 Thread java2d
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

Re: [JAVA2D] Fullscreen Image Dual-Head

2007-01-17 Thread Peter Zoon
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

Re: [JAVA2D] Black rectangles on screen

2007-01-17 Thread Dmitri Trembovetski
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:

Re: [JAVA2D] Black rectangles on screen

2007-01-17 Thread David Eisner
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