Article View: aus.computers.java
Article #1038Re: [Converting gridbag layout to frame layout application]
From: William Adcock
Date: Wed, 13 Oct 1999 00:00
Date: Wed, 13 Oct 1999 00:00
24 lines
1358 bytes
1358 bytes
change "GridBagLayou gbLayout;" to "GridBagLayout gbLayout = new
GridBagLayout(...)". Right now gbLayout is a null pointer.
Thomas F wrote:
> Hi ,
>
> I have just developed a gridbag layout for an email application, and
> would like to transport that to a frame application -
>
> I have tried the following with no success
>
> Frame f;
> GridBagLayou gbLayout;
>
> f = new Frame("FrameMail 1.40");
> f.setLayout(gbLayout);
>
> f.add(c);
>
> where c is the individual components added to the gridbag at each
> interval.
>
> Any ideas would be greatly appericated.
Technical Details
Message-ID:
<38050A5E.A814C8F9@boeing.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38048b2a.111366625@news.powerup.com.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10fd6d,835444fcc66adb4a X-Google-Attributes: gid10fd6d,public X-Google-Thread: 10d6db,835444fcc66adb4a X-Google-Attributes: gid10d6db,public From: William Adcock <william.d.adcock@boeing.com> Subject: Re: [Converting gridbag layout to frame layout application] Date: 1999/10/13 Message-ID: <38050A5E.A814C8F9@boeing.com> X-Deja-AN: 536439356 Content-Transfer-Encoding: 7bit Sender: nntp@news.boeing.com (Boeing NNTP News Access) X-Nntp-Posting-Host: e898417.blv.boeing.com References: <38048b2a.111366625@news.powerup.com.au> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: The Boeing Company Mime-Version: 1.0 Newsgroups: aus.computers.java,comp.lang.java.gui