🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Continous resizing of components

#15896
From: Tad Frysinger
Date: Tue, 27 Apr 1999 00:00
30 lines
1964 bytes
In article <MPG.1189d53f3b29ab7d989bd4@forums.inprise.com>, 
supportinfo@inprise.com says...
> restad@hinux.hin.no says...
> // When resizing of frames are done, no resizing of components are done
> // before the mousebutton is released. How can this be fixed?
> // 
> 
> Only a guess... this sounds like a project which would need you to go 
> back to basic frames and subclass with an over-ridden method, but I have 
> no idea which one(s). It has a feel of something you might need to get 
> the original JDK source from Sun, and waste a lot of time on experiments.
> 
> IMO you don't want to resize or move contained components until you drop 
> the frame, it will be lumpy as a mouse full of cat hair.  The 
> recalculate-paint overhead is too high or it would be implemented 
> already.  Note that active resizing contained objects is also unusual in 
> Windows (the OS) so I suspect MS also decided it was too intensive for 
> current systems.
> 
> 
I think it was more likely a performance issue with the original AWT.  
I've used a window_resizing event to recalc location/placement of 
components in other development environments for Windows and it works 
fine in terms of speed (although getting it right *really* makes you 
appreciate the layout manager approach of Java).

As performance boosters become more prevalent, the speed issue won't be 
the problem - it will be the legacy layout managers.

Tad Frysinger (TeamB)
Technical Details
Message-ID: <MPG.118f95cb81bfa4d99899d0@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <371F6105.B33D5584@hinux.hin.no> <MPG.1189d53f3b29ab7d989bd4@forums.inprise.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,a9964ed1d91a52d8
X-Google-Attributes: gidf74b3,public
From: tfrysinger@earthlink.net (Tad Frysinger)
Subject: Re: Continous resizing of components
Date: 1999/04/27
Message-ID: <MPG.118f95cb81bfa4d99899d0@forums.borland.com>
X-Deja-AN: 471522453
References: <371F6105.B33D5584@hinux.hin.no> <MPG.1189d53f3b29ab7d989bd4@forums.inprise.com>
Organization: Freezone Enterprises
Newsgroups: borland.public.jbuilder.java.language