🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16530

Re: Newbee question

#16530
From: Steve Horsley
Date: Wed, 10 Feb 1999 00:00
10 lines
938 bytes
Just taking a quick look, it seems that in the second example, you are
not setting the frame size. getSize() gives you a Dimension which 
contains a COPY the frame's current size, you modify that, but don't
use the modified one to set the frame's size.

How about something like (I'm guessing...):
Dimension dim = new Dimension(100, 100);
frame11.setSize(dim);

Steve.
Technical Details
Message-ID: <36C152DE.272D@cwcom.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36C0B3B8.5FC58A59@hba.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,d6beff772fa1174a
X-Google-Attributes: gidf74b3,public
From: Steve Horsley <steve.horsley@cwcom.co.uk>
Subject: Re: Newbee question
Date: 1999/02/10
Message-ID: <36C152DE.272D@cwcom.co.uk>
X-Deja-AN: 442741456
Content-Transfer-Encoding: 7bit
References: <36C0B3B8.5FC58A59@hba.com>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: steve.horsley@cwcom.co.uk
Newsgroups: borland.public.jbuilder.java.language