Name: pzR10082 Date: 10/19/2000
Run the program below and pass focus to the button.
Minimize the frame and then restore it. The button
now is not focused.
---------------------------------------------
import javax.swing.*;
public class Test extends JFrame {
public Test() {
JButton button = new JButton("focused");
getContentPane().add(button);
}
public static void main(String args[]) {
Test frame = new Test();
frame.pack();
frame.setVisible(true);
}
}
---------------------------------------------
This bug cannot be reproduced on Solaris using window
managers with focus-follows-mouse policy. It can be
easily reproduced on Windows, however.
This bug appeared in Merlin after focus changes.
It didn't exist in 1.3 or 1.2.2.
======================================================================