> -----Original Message----- > From: Weiqi Gao [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 27, 2002 1:40 PM > > On Wed, 2002-02-27 at 03:01, Steve Graegert wrote: > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED]] On Behalf Of Amol Kulkarni > > > Sent: Wednesday, February 27, 2002 5:40 AM > > > What is the problem here? > > > > If I compile this code, no internal frames are appearing. > > Did you run that app? > > You need to call "internalFrame.setSize(w, h)" and > "internalFrame.setVisible(true)" before it will show up right. > > You can do a "Ctrl-Shift-F1" on the Swing JFrame to dump the > containment > stack and verify that you have indeed created the internal > frames, but > they are all of size (0, 0) and are all invisible.
Thanks a million. This was the missing piece of information. Now, everything works as expected. Bye, Steve. ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]