Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6596249

JOptionpane isn't displayed properly in fullscreen mode

XMLWordPrintable

      FULL PRODUCT VERSION :
      java version "1.6.0_02"
      Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
      Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Windows XP

      A DESCRIPTION OF THE PROBLEM :
      There occur multiple graphic issues if you drag and drop an joptionpane, when you run an program in fullscreen mode.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      create an joptionpane in fullscreen mode

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      JOptionpane should be painted properly
      ACTUAL -
      JOptionpane should is not painted properly when it is draged

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import java.awt.GraphicsDevice;
      import java.awt.GraphicsEnvironment;

      import javax.swing.JFrame;
      import javax.swing.JOptionPane;

      @SuppressWarnings("serial")
      public class TestJOptionPane extends JFrame {
      public TestJOptionPane() {
      GraphicsDevice device = GraphicsEnvironment
      .getLocalGraphicsEnvironment().getDefaultScreenDevice();
      setUndecorated(true);
      device.setFullScreenWindow(this);

      setVisible(true);

      JOptionPane.showMessageDialog(this, "Test");

      System.exit(0);
      }

      public static void main(String[] args) {
      new TestJOptionPane();
      }
      }
      ---------- END SOURCE ----------

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: