Re: doing control layout in awt

From: Hal Rosser (hmrosser_at_bellsouth.net)
Date: 08/06/04


Date: Thu, 5 Aug 2004 20:05:55 -0400

set layout to null, then use setBounds or setLocation method of the
components

"Andrew Thompson" <SeeMySites@www.invalid> wrote in message
news:ivy90vljepf5.659gw3etfyow$.dlg@40tude.net...
> On Thu, 5 Aug 2004 20:07:33 +0530, Madhur Ahuja wrote:
>
> > I want to layout my controls on the Applet without using any layout
manager
>
> <http://www.physci.org/codes/javafaq.jsp#cljg>
>
> That is a logical contradiction by the way..
>
> How do you expect to 'layout' your controls
> without a 'layout manager'? Planning on
> using magic?
>
> If there is a logic to calculating the
> positions of the child components, that
> logic is best encapsulated in a LayoutManager,
> waht you are probably after is a custom
> LayoutManager.
>
> [ And if there is no logic, we're back to 'magic' ]
>
> --
> Andrew Thompson
> http://www.PhySci.org/ Open-source software suite
> http://www.PhySci.org/codes/ Web & IT Help
> http://www.1point1C.org/ Science & Technology

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.732 / Virus Database: 486 - Release Date: 7/29/2004


Relevant Pages

  • Re: Dream GUI toolkit (Was: GUI programming.)
    ... Most auto layout systems I've worked with can calculate a minimum size ... I've never thought that controls disappearing or ... getting obscured just because of the window size is a particularly ... Most auto layout systems can do this pretty well. ...
    (comp.programming)
  • Re: easy dialog resizing
    ... The layout controls in Whidbey are a bit better, ... > "Justin Rogers" wrote in message ... >> the layout manager to ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Dream GUI toolkit (Was: GUI programming.)
    ... or let some layout engine take ... I think the thing that both you and Chris might be missing is that auto ... controls are placed on the screen. ... designer control over how the buttons are arranged. ...
    (comp.programming)
  • Re: A time for patience
    ... For the type of apps you are bullding, I wouldn't even consider managed code. ... I tend to build middleware and rich client apps. ... The Designer supports both fixed layout and fully expanding forms. ... It tries to do everything for you and likes to size the controls based on what they hold so getting a aligned grid form setup is a little difficult. ...
    (borland.public.delphi.non-technical)
  • Re: First Generation DMU Driving Controls
    ... controls at an angle directly in front of the driver rather than in ... Was there in fact much variation in driving controls and cab ... layout between the different makes of the original DMUs? ... with the sloping drivers desk you mention - ...
    (uk.railway)