-
Bug
-
Resolution: Won't Fix
-
P3
-
None
-
5.0
-
x86
-
linux
Name: dmR10075 Date: 08/29/2003
Run the following test case. It creates Frame and child Window. On
Windows and XAWT you can see both of them, each containing Button
inside. With Motif toolkit, you will see only Frame.
Reproducible on Linux/RH9, 1.5.0b16
import java.awt.*;
import java.awt.event.*;
public class TestWindow {
static Frame frame = new Frame("Test Frame");
static Window w = new Window(frame);
public static void main(String[] args) {
frame.add(new Button("But"));
frame.pack();
frame.setVisible(true);
w.add(new Button("But"));
w.setLocation(100, 100);
w.pack();
w.setVisible(true);
}
}
======================================================================
Run the following test case. It creates Frame and child Window. On
Windows and XAWT you can see both of them, each containing Button
inside. With Motif toolkit, you will see only Frame.
Reproducible on Linux/RH9, 1.5.0b16
import java.awt.*;
import java.awt.event.*;
public class TestWindow {
static Frame frame = new Frame("Test Frame");
static Window w = new Window(frame);
public static void main(String[] args) {
frame.add(new Button("But"));
frame.pack();
frame.setVisible(true);
w.add(new Button("But"));
w.setLocation(100, 100);
w.pack();
w.setVisible(true);
}
}
======================================================================