Thread View: borland.public.jbuilder.java.swing
2 messages
2 total messages
Started by Jonny Oenning
Thu, 10 Feb 2005 03:45
which layout to choose from
Author: Jonny Oenning
Date: Thu, 10 Feb 2005 03:45
Date: Thu, 10 Feb 2005 03:45
12 lines
1164 bytes
1164 bytes
Hi All, I'm writing a "simple" maintenance type of program, such as customer maintenance. Image a couple of dozen fields spread over a screen in 2 or 3 columns. (cust-no, name, address, etc, etc..) What would be the best layout to use in such instances? (or combination of panes / layout) ?? Thanks Jonny Oenning
Re: which layout to choose from
Author: Lori M Olson [TeamB]
Date: Thu, 10 Feb 2005 04:31
Date: Thu, 10 Feb 2005 04:31
44 lines
2304 bytes
2304 bytes
Jonny Oenning wrote:
> Hi All,
>
> I'm writing a "simple" maintenance type of program, such as customer
> maintenance.
> Image a couple of dozen fields spread over a screen in 2 or 3 columns.
> (cust-no, name, address, etc, etc..)
>
> What would be the best layout to use in such instances? (or combination of
> panes / layout) ??
>
> Thanks
> Jonny Oenning
>
>
If your dialog is simple enough, a combination of BorderLayout and
GridLayout or BoxLayout in combination with sub-panels might work.
But, it might be better to just pull out the most versatile tool in the
box and go straight for GridBagLayout. I know that people who haven't
taken the time to learn it properly really hate GridBag, but once you
learn how it works, you can really make any dialog, no matter how
complex, layout exactly the way you want.
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads