Article View: borland.public.jbuilder.java.swing
Article #13143Re: display problem of JInternalFrame
From: Michael A. Long
Date: Fri, 11 Sep 1998 00:00
Date: Fri, 11 Sep 1998 00:00
36 lines
1637 bytes
1637 bytes
I just started playing with this so take this answer with several grains of salt. I believe you have to, or should, use
JDesktopPane as a container for JInternaFrame.
This is one area where the help file (suprisingly) has some pretty good info. Just look up JDesktopPane.
Wu, Weimin wrote in message <35F6C23F.C5965536@784.hypermart.com>...
>Hi,
>
>I am trying to use a JInternalFrame in an applet that extends JApplet. I
>am using JBuilder c/s.
>
>I created a JInternalFrame
>
> JInternalFrame jInternalFrame_login = new
>JInternalFrame("test",true,true,true,true);
>
>and add it to a JPanel, which is added to this. No code is added
>manually ( except extending of JApplet).
>
>
>Then I test it in AppletViewer. The frame is displayed there and looks
>fine. But when I click the icon on the top of the frame, the frame
>doesnt response. It cannot be maximumized and closed. It can be
>"iconized", disappeared, I have to resize the AppletViewer pane to find
>the iconized frame.
>
>The error message is, java.lang.NullPointerException.
>
>Is there anybody could help me with this problem? Thanks.
>
>
>
>
>
>wu
>
Technical Details
Message-ID:
<6tasut$drb10@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35F6C23F.C5965536@784.hypermart.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,98c9f1b915d4464f X-Google-Attributes: gid111d45,public From: "Michael A. Long" <mlong@cmc.net> Subject: Re: display problem of JInternalFrame Date: 1998/09/11 Message-ID: <6tasut$drb10@forums.borland.com> X-Deja-AN: 390048346 References: <35F6C23F.C5965536@784.hypermart.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: CSU Chico Newsgroups: borland.public.jbuilder.java.swing