- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    5.0
- 
        b43
- 
        x86
- 
        linux
                    Name: atR10251			Date: 01/29/2004
Calling <toFront> on a Frame causes COMPONENT_MOVED to be generated for the Frame.
It takes place on XToolkit.
Here'is the testcase to reproduce the bug:
------------------------------------------
import java.awt.*;
import java.awt.event.*;
public class ToFrontTest {
public static void main(String[] args) throws Exception
{
final Frame f1 = new Frame("F-0");
final Frame f2 = new Frame("F-1");
f1.setVisible(true);
f2.setVisible(true);
Thread.sleep(1000);
Toolkit.getDefaultToolkit().addAWTEventListener(new AWTEventListener() {
public void eventDispatched(AWTEvent e) {
if (e.getSource() == f1) {
System.err.println(e);
}
}
}, ComponentEvent.COMPONENT_EVENT_MASK);
f1.toFront();
}
}
------------------------------------------
======================================================================
            
Calling <toFront> on a Frame causes COMPONENT_MOVED to be generated for the Frame.
It takes place on XToolkit.
Here'is the testcase to reproduce the bug:
------------------------------------------
import java.awt.*;
import java.awt.event.*;
public class ToFrontTest {
public static void main(String[] args) throws Exception
{
final Frame f1 = new Frame("F-0");
final Frame f2 = new Frame("F-1");
f1.setVisible(true);
f2.setVisible(true);
Thread.sleep(1000);
Toolkit.getDefaultToolkit().addAWTEventListener(new AWTEventListener() {
public void eventDispatched(AWTEvent e) {
if (e.getSource() == f1) {
System.err.println(e);
}
}
}, ComponentEvent.COMPONENT_EVENT_MASK);
f1.toFront();
}
}
------------------------------------------
======================================================================
- relates to
- 
                    JDK-6333643 Regression: java/awt/event/ComponentEvent/MovedResizedTardyEventTest fails in OpenWin -           
- Open
 
-         
- 
                    JDK-4915653 REGRESSION: Regression-cte CTE_REGTEST/Generic/4092033/Test4092033.java fails -           
- Closed
 
-