-
Bug
-
Resolution: Not an Issue
-
P2
-
None
-
6u12
-
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
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