🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9321

FlowLayout

#9321
From: Erik Berry
Date: Thu, 13 Apr 2000 00:00
32 lines
1617 bytes
  Is there a way to convince FlowLayout or one of the other Java 1.1 (I 
don't see an AWT newsgroup) LayoutManagers to do the following:

----------------------------------------
  Button1   |                          |
  Button2   |                          |
  Button3   |        Panel             |
  Button4   |                          |
  Button5   |                          |
  Button6   |                          |
----------------------------------------

  In other words, I want several buttons centered in a left aligned 
panel along the edge of a frame.  It always stacks the buttons in a 
horizontal line right now, like this:

----------------------------------------
 Button1 Button 2 Button3 etc  |       |
                               |       |
                               |       |
                               | Panel |
                               |       |
                               |       |
                               |       |
----------------------------------------

  I'd rather not use any third-party LayoutManagers and GridLayout seems 
to resize the button cells - spacing them as one expands the frame - 
which isn't desired.

Thanks,
Erik
Technical Details
Message-ID: <MPG.135f2033c15ad4919896a9@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,65f027a49ffb0fdc,start
X-Google-Attributes: gid111d45,public
From: Erik Berry <eb@techie.ZZZcom>
Subject: FlowLayout
Date: 2000/04/13
Message-ID: <MPG.135f2033c15ad4919896a9@newsgroups.borland.com>
X-Deja-AN: 610542424
X-Trace: 12 Apr 2000 23:00:34 -0800, 128.252.22.64
Newsgroups: borland.public.jbuilder.java.swing