Article View: borland.public.jbuilder.java.language
Article #17729Re: Tree sizing
From: Richard Wilkman
Date: Tue, 06 Oct 1998 00:00
Date: Tue, 06 Oct 1998 00:00
44 lines
1924 bytes
1924 bytes
Leo: You don't directly manage sizing in Java -- that is controlled by the layout manager for the container. We do provide an XYLayout manager that you can use, however, and it should allow what you want. I recommend using XY only for basic layout and then switching to one of the standard Java layout managers after that. -Rich Leo Cohen wrote: > > If I drop the JBCL tree component on an AWT panel and try to > size it with setBounds() or setSize(), nothing happens. If I > move the instructions to just after the setVisible() for the > frame, I get a new sizing but it is overlaid on the old one. > That is, there are two trees on the panel; the one > originally generated, and my newly sized one. > > So the question is, how do I manage the sizing of this tree > component? > > -- > Leo Cohen > 116-1 Howard Dr.. > Charlottesville, VA 22903 > 804-244-4648 > > lcohen@cs.virginia.edu -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rich Wilkman Senior Quality Assurance Engineer Borland JBuilder Team If you see something that looks like an opinion up there, it's mine and mine alone. Mail sent to me from the newsgroups won't bounce but will be ignored. If I have time, I'll respond, but you have a better chance if you confine your posts to the newsgroups =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<361A35D0.1C6F5D35@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<361A03D1.B90883C2@cs.virginia.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,2b04c5272cf7ab81 X-Google-Attributes: gidf74b3,public From: Richard Wilkman <rwilkman@inprise.com> Subject: Re: Tree sizing Date: 1998/10/06 Message-ID: <361A35D0.1C6F5D35@inprise.com> X-Deja-AN: 398292514 Content-Transfer-Encoding: 7bit References: <361A03D1.B90883C2@cs.virginia.edu> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language