🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Jbuilder 9 IDE ToolBar layout

#1796
From: Greg Hamer
Date: Thu, 24 Jul 2003 23:00
31 lines
2250 bytes
Start | Run
cmd.exe
ok
System Menu | properties
<Sreen Buffer Size>
<Width> 800
<Height:> 300
<Ok>

Launch jbuilder.exe from a command prompt window,
Use the view menu to hide all the windows except the structure pane.
Use View | toolbars to hide all the toolbars except help,
and then
Ctrl + shift + F1 to dump the component tree to the console.
Looks like com.borland.primetime.ide.BrowserToolBarPane is FlowLayout
, inside the frame's content pane set to Gridbag layout.

"Rekha" <rvenkatesh@iso.com> wrote in message
news:3f1fe542$1@newsgroups.borland.com...
>
> Hi
> I am curious to know what layoutmanager the JBuilder IDE is
>  using. I am trying to simulate the way their toolbar wraps to
>  next line when you resize the window. I know FlowLayout wraps
>  components to go multiple rows, but if the parent Panel's
> layout is BorderLayout, and toolbar panel has north constraint
>  then it does not wrap. If I use GridBagLayout and fill only
> horizontal, it behaves the same as borderlayout. If I give say
> 0.05 vertical fill, then it does wrap, but when the window is
> full size and tool bar can fit in one row, there is a gap
> between panels. Thanks Rekha
Technical Details
Message-ID: <3f206522$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!logbridge.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f1fe542$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,648945066ac97c4d
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-07-24 16:02:49 PST
From: "Greg Hamer" <ghamer@dslextreme.com>
Newsgroups: borland.public.jbuilder.java.swing
References: <3f1fe542$1@newsgroups.borland.com>
Subject: Re: Jbuilder 9 IDE ToolBar layout
Date: Thu, 24 Jul 2003 16:00:52 -0700
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 12.31.172.108
Message-ID: <3f206522$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1059087650 12.31.172.108 (24 Jul 2003 16:00:50 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!cyclone.bc.net!logbridge.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail