🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Can not drag frame longer on desiger

#9934
From: Greg Hamer
Date: Mon, 13 Dec 1999 00:00
46 lines
2576 bytes
Well, JTabbedPane can be often be used to save real estate. Another approach is to
move some of the UI that is not often needed into a dialog like  MS often does on
its wizards when all the UI does not fit. They usually label the button that
launches the dialog "Advanced...".

Leesha Chang wrote:

> Thanks, Greg.
> I think I am running to the max size of screen. I guess the other choice
> I have is to split the frame into two in order to contain a lot of components.
> Any suggestions?
>
> Leesha
> ----------------------------------------------
>
> Greg Hamer wrote:
>
> > 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: <3855647E.96989D4@borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <385518E4.1E00F933@lmco.com> <385540F2.873C1AC1@borland.com> <38554C9E.E24165A2@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: <3855647E.96989D4@borland.com>
X-Deja-AN: 560250231
Content-Transfer-Encoding: 7bit
References: <385518E4.1E00F933@lmco.com> <385540F2.873C1AC1@borland.com> <38554C9E.E24165A2@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