Hi Donovan,

On Wed, Jun 29, 2005 at 01:27:51PM -0700, Boden, Donovan wrote:
 > I am developing a Java 1.4.2 application using Swing that will run
 > on a

  Were you using the latest 1.4.2 or the fcs version?

 > set of Dell servers running WinXP Pro SP2, DirectX 9.0c, and the latest
 > drivers for the Quadro FX 500/FX 600 (v7.7.1.8). We use dual screens and
 > when the window of our app spans across the divide of the shared desktop
 > (even a little) it can get into a state where the window is not re-drawn
 > and never recovers. The easiest way to see this is with this simple
 > program:
 >
 > import javax.swing.*;
 >
 > public class HelloWorldSwing {
 >     public static void main(String[] args) {
 >         JFrame frame = new JFrame("HelloWorldSwing");
 >         frame.getContentPane().setBackground(new Color(0));
 >
 >         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
 >         frame.pack();
 >         frame.setVisible(true);
 >     }
 > }
 >
 > After running it, expand the window a little and have it straddle the
 > two screens. Hit Ctrl-Alt-Del and then Esc a couple of times. On a
 > computer with the Quadro FX 500/FX 600 after a few times the window
 > should 'grey out' and never refresh again.

  I believe this is a known bug which was fixed in one of 1.4.2 update
  releases.

 > If this same app is run under Java 1.5 there is no problem, but our app
 > does still have the problem under 1.5. We also cannot ship using Java
 > 1.5.

  Have you tried the latest update release, 5.0u4?

 > Does anyone have any suggestions about work arounds or possible
 > fixes?

  Try disabling the use of offscreen acceleration by Java2D with
  -Dsun.java2d.ddoffscreen=false option.

  If that doesn't help, disable the use of DirectDraw completely:
  -Dsun.java2d.noddraw=true

  Thanks,
    Dmitri

 >
 > Donovan Boden
 > Principal Engineer - Software
 >
 > > GENERAL DYNAMICS
 > > Advanced Information Systems
 > >
 > 1340 Ashton Road
 > Hanover, MD 21076
 > (V) 410 865 1686
 > (F) 410 865 1588
 > [EMAIL PROTECTED]
 >
 > > Mailing Address:
 > > 10925 Pump House Road
 > > Annapolis Junction, MD 20701-1206
 > >
 >
 > ===========================================================================
 > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
 > of the message "signoff JAVA2D-INTEREST".  For general help, send email to
 > [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to