Run the testcase below and move the mouse to be in the main section of the
JInternalFrame (not the title bar part, the content part). Out of Memory errors
occur as the mouse moved event gets infinitely passed around.
***TESCASE***
import javax.swing.*;
public class Test
{
public static void main(String[] args)
{
JFrame jf = new JFrame();
JLayeredPane jl = new JLayeredPane();
jf.setLayeredPane (jl);
jf.setSize(600,600);
JInternalFrame frame = new JInternalFrame("title2", true, true, true, true);
jf.setContentPane(frame);
frame.show();
jf.show();
frame.setSize(100,100);
}
}
--
Summary: JInternalFrame mouse moved infinite loop
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: swing
AssignedTo: abalkiss at redhat dot com
ReportedBy: abalkiss at redhat dot com
CC: bug-classpath at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23966
_______________________________________________
Bug-classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-classpath