Article View: borland.public.jbuilder.java.language
Article #15856Re: Continous resizing of components
From: Ben Starr
Date: Fri, 23 Apr 1999 00:00
Date: Fri, 23 Apr 1999 00:00
34 lines
2106 bytes
2106 bytes
Active resizing is enabled in Windows if you have Plus! installed. Control Panel -> Display Properties -> Plus! Tab -> Display windows contents while dragging. Could you perhaps balk the mouse-up event in a loop so the window contents is resized continuously? A method I have used in other languages is to explicitly resize the components on the window resize (or similar) event. This isn't great for Java though as the layout manager does it for you. Ben Starr BenS@commonpurpose.org.uk Paul Franks (TeamB) wrote in message ... >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. > >-- >pf
Technical Details
Message-ID:
<924855604.3857.0.nnrp-13.c3add604@news.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<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: "Ben Starr" <BenS@commonpurpose.org.uk> Subject: Re: Continous resizing of components Date: 1999/04/23 Message-ID: <924855604.3857.0.nnrp-13.c3add604@news.demon.co.uk> X-Deja-AN: 469897086 X-NNTP-Posting-Host: [195.173.214.4]:195.173.214.4 References: <371F6105.B33D5584@hinux.hin.no> <MPG.1189d53f3b29ab7d989bd4@forums.inprise.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 924855604 nnrp-13:3857 NO-IDENT [195.173.214.4]:195.173.214.4 Newsgroups: borland.public.jbuilder.java.language