🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9931

Re: Can not drag frame longer on desiger

#9931
From: Greg Hamer
Date: Mon, 13 Dec 1999 00:00
29 lines
1811 bytes
I cannot reproduce this, but an alternate way to make the frame larger
would be to
add a setSize call into the jbInit method for the frame. Be sure to use the
one that takes only
one parameter (Dimension) rather than the one that takes a width and a
height.
this.setSize(new Dimesion(600,800)); -- something like that. The designer
should honor it.
Also you can drop things into the various containers via the component
tree, but that does not help you see them if the frame is too small.
Perhaps the frame is already at the screens size? I dont think  a frame can
be sized larger than the screen.

Leesha Chang wrote:

> Hi:
>
> I am creating a very long frame. On the designer, after it reaches
> certain size, I could not drag the frame any longer. I have Border
> layout for the frame,  a JScrollPane on the frame, on JScrollPane,
> I have BevelPanel(xy layout) contains all the components.  What happens
> is I need to drop more components(JLabels, JButtons, etc) on the
> BevelPanel, but I can not drag the entire frame any longer, it stays
> certain size. Is there any parameter I should set? I am taking all
> default parameters now. Does layout manager has anything to do with it?
>
> Thanks for help.
>
> Leesha
Technical Details
Message-ID: <385540F2.873C1AC1@borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <385518E4.1E00F933@lmco.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,57971fb2cd26f597
X-Google-Attributes: gid111d45,public
From: Greg Hamer <ghamer@borland.com>
Subject: Re: Can not drag frame longer on desiger
Date: 1999/12/13
Message-ID: <385540F2.873C1AC1@borland.com>
X-Deja-AN: 560184484
Content-Transfer-Encoding: 7bit
References: <385518E4.1E00F933@lmco.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing