Re: GridBagLayout
- From: Knute Johnson <nospam@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 08 May 2008 08:45:16 -0700
Alex.From.Ohio.Java@xxxxxxxxx wrote:
On May 7, 1:29 pm, Knute Johnson <nos...@xxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Brian wrote:HiMaybe. GBL is very dependent on the preferred sizes of the components.
I'm trying to create a GUI using GridBagLayout.
I have two separate JPanels where i need to place items in the same
place in each panel.
Is it possible to use at GridBagLayout with a fixed / predifined no.
of colums - and all of them with the same width?
/Brian
So if they were all the same size or you make them all the same size,
then yes probably. Also with GBL you can set the weights and fill to
allow the components to expand to the available space in the layout.
I wrote a GBL simulator if you want to try setting up a layout,
http://rabbitbrush.frazmtn.com/gridbagtester.html
If you try it, I would appreciate any feedback.
--
Knute Johnson
email s/nospam/linux/
--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
I tried it - really awesome.
The only suggestion is to create function to export created layout in
Java source format. It will really help developers to visually crate
layout and then use it.
Nice job!
Alex.
http://www.myjavaserver.com/~alexfromohio/
That's a good idea, I'll think about that.
--
Knute Johnson
email s/nospam/linux/
--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
.
- References:
- GridBagLayout
- From: Brian
- Re: GridBagLayout
- From: Knute Johnson
- Re: GridBagLayout
- From: Alex . From . Ohio . Java
- GridBagLayout
- Prev by Date: Re: Call-Super antipattern
- Next by Date: Re: ImageIO memory issue
- Previous by thread: Re: GridBagLayout
- Next by thread: Re: GridBagLayout
- Index(es):
Relevant Pages
|