Article View: borland.public.jbuilder.java.language
Article #18450Re: The same old Layout problems with Layouts..
From: Charlie Hays
Date: Tue, 23 Jun 1998 00:00
Date: Tue, 23 Jun 1998 00:00
43 lines
2146 bytes
2146 bytes
Davide, I had a similar problem twice before: First time there was a layout call after the component was added and for some reason this messed things up. I moved the layout call above all the add calls in the jbinit() and it worked fine after that. Second time I found 2 layout calls in the jbinit() for the same container. (I probably did this myself copying from another form.) Hope your problem is this simple. Charlie Davide De Benedictis <pegaso@mclink.it> wrote in article <358EE000.33F5D44C@mclink.it>... > It's the same old problem working with Layouts... > I have a Bevelpanel with a GridLayout. On this panel there are three > components: a labelControl, a ChoiceControl, an ImageControl. > This panel is at NORTH of a Frame with aBorderLayout. > Everything is JBCL and has a texture set. > When I display the frame everithing is ok, but when later I refresh > the ChoiceControl, it moves up from it' position. > Of course if I resize the frame all come back ok until I refresh again > the ChoiceControl. > Note that the Frame is packed. > I've tried everything: doLayout, validate, invalidate, > setVisible(true) and (false) of every component..( sob !!!). > I'm on Win NT 4.0 and when I deploy everything on OS2, the problem > doesn't appear.... > Please help me... > Have you some good tips ( I'm thinking to return with the old fixed > width GUI ) > > > ----------------------------------------------------------- > Davide De Benedictis > > Pegaso Srl > Via Asiago 9, 00195 Roma, Italy > tel +39 6 32.20.437 fax +39 6 37.00.454 > email : pegaso@mclink.it > ----------------------------------------------------------- > > >
Technical Details
Message-ID:
<01bd9e47$f81479c0$3d4961ce@boss>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<358EE000.33F5D44C@mclink.it>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,b51394dad8aaa29a X-Google-Attributes: gidf74b3,public From: "Charlie Hays" <crhays@viaduct.custom.net> Subject: Re: The same old Layout problems with Layouts.. Date: 1998/06/23 Message-ID: <01bd9e47$f81479c0$3d4961ce@boss> X-Deja-AN: 365175831 References: <358EE000.33F5D44C@mclink.it> Organization: http://extra.newsguy.com Newsgroups: borland.public.jbuilder.java.language