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

Transparent window do not show on Windows XP Prof with Intel 82865G graphics card

XMLWordPrintable

    • x86
    • windows_xp

      A JFrame created with opacity set to false do not show up on a Windows XP system with Intel 82865G graphics card. I can see the frame icon on the task bar but nothing is shown on screen - I've a button on the transparent window, but thats not shown.

      I'm running the below program:

      import javax.swing.*;
      import java.awt.*;
      import com.sun.awt.AWTUtilities;

      public class Test {
          public static void main(String[] args) {
              JFrame f = new JFrame();
              f.setSize(200, 200);
              f.setLayout(new FlowLayout());
              f.setUndecorated(true);
              f.add(new JButton("Click Me"));
              AWTUtilities.setWindowOpaque(f, false);
              f.setVisible(true);
          }
      }

      vnc details of the system:
      jdsn9.india.sun.com
      vnc123

            anthony Anthony Petrov (Inactive)
            gramachasunw Girish Ramachandran (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: