-
Bug
-
Resolution: Fixed
-
P3
-
1.1.5
-
1.2fcs
-
generic
-
generic
-
Not verified
Name: rk38400 Date: 04/14/98
JInternalFrame f=new JInternalFrame();
f.setVisible(true);
f.setVisible(false);
f.setVisible(true); // This call causes an
// infinite call loop that
// leads to stack overflow.
The problem is due to the fact that JInternalFrame
overrides the show() method which calls setVisible()
when isVisible() returns false but setVisible()
calls show() again. What's missing is a way for
JInternalFrame to set the 'visible' field in Component
without calling setVisible().
(Review ID: 27296)
======================================================================