import java.awt.Window;
import java.awt.event.WindowEvent;
import java.awt.event.WindowFocusListener;
import test.java.awt.regtesthelpers.Util;
public class TranserFocusToWindow
<BUG>{
public static void main(String[] args) {</BUG>
Robot robot = Util.createRobot();
Frame owner_frame = new Frame("Owner frame");
<BUG>owner_frame.setBounds(0, 0, 200, 200);
</BUG>
owner_frame.setVisible(true);

import java.awt.Window;
import java.awt.event.WindowEvent;
import java.awt.event.WindowFocusListener;
import test.java.awt.regtesthelpers.Util;
public class TranserFocusToWindow
{
private static final int WIDTH = 300;
private static final int HEIGHT = 200;
public static void main(String[] args) {
Robot robot = Util.createRobot();
Frame owner_frame = new Frame("Owner frame");
owner_frame.setBounds(0, 0, WIDTH, HEIGHT);
owner_frame.setVisible(true);
