🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3192

Need help from a layout expert

#3192
From: Peter Steele
Date: Sun, 08 Mar 1998 00:00
36 lines
2579 bytes
I'm having some difficulty in try to reproduce the UI behavior of a program
I've written in C++ Builder. The main form looks basically like this:

+------------------------------------------------------------+
| File Edit Help                                             |
|------------------------------------------------------------|
|                        |                                   |
|  /------\    /------\  |  Text area                        |
|  |Button|    |Button|  |  This should grow to east and     |
|  \------/    \------/  |  south as window is resized. Its  |
|                        |  left edge is anchored at its     |
|  /------\    /------\  |  designed position. If window is  |
|  |Button|    |Button|  |  resized to be narrower than the  |
|  \------/    \------/  |  text area's left edge, the text  |
|                        |  area should be clipped, as well  |
|  /------\    /------\  |  as any buttons in the left hand  |
|  |Button|    |Button|  |  area of the main form.           |
|  \------/    \------/  |                                   |
|                        |  If the Hide/Show button is       |
|------------------------|  pressed, the text area is        |
|                        |  hidden and resizing the window   |
|  (that's a horizontal  |  simply extends grey form back-   |
|   line above)          |  ground. The status bar of course |
|                        |  is always anchored to the bottom |
|      /---------\       |  and if the window is too small   |
|      |Hide/Show|       |  to fit in the buttons they are   |
|      \---------/       |  clipped.                         |
|                        |                                   |
|------------------------------------------------------------|
| Status bar                                                 |
+------------------------------------------------------------+

This was trivial to set up in C++ Builder but I've been unable to come up
with a way to duplicate this behavior in Java. If anyone can offer some
advice, it would be appreciated.
Technical Details
Message-ID: <6dubpt$26t5@forums.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: 1089d0,9f9a24dbf90a2338,start
X-Google-Attributes: gid1089d0,public
From: "Peter Steele" <peter@acadiau.ca>
Subject: Need help from a layout expert
Date: 1998/03/08
Message-ID: <6dubpt$26t5@forums.borland.com>
X-Deja-AN: 331953325
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3007.0
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.api