Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1077
| From | "Tony B" <tony.b@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: JButton sizing ? |
| Message-ID | <MODFh.22268$PW4.7236@fe03.news.easynews.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <45e69ad5$0$2449$db0fefd9@news.zen.co.uk> |
| Date | 2011-04-27 15:31 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui ----- Original Message ----- From: "Ian Wilson" <scobloke2@infotop.co.uk> Newsgroups: comp.lang.java.gui Sent: Thursday, March 01, 2007 9:20 AM Subject: Re: JButton sizing ? >> Thanks That works a treat. This seem a bit like writing hml using nested >> tables to get a design to look right ! > > It is, except that HTML tables were originally intended for tabular data > not for layout, whereas JPanels and Layouts were always intended to be > used for layout and to be nestable. Perhaps it is more like nested DIVs > with CSS :-) I must admit I find using css box model and <div> much easier it terms of controlling positoning/size/borders/margins, but maybe it gets easier with practice. > If you don't like nesting layouts in this way, you can achieve the same > visual effect by using (the notoriously difficult) GridBagLayout, (the > popular) JGoodies FormLayout or (my favourite) MigLayout without the need > for nesting of layouts and panels. Maybe I'll stick with the simpler layouts for now. I think I have a slightly better understanding now. Thanks for your help. Tony --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
JButton sizing ? "Tony B" <tony.b@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
Re: JButton sizing ? "Thomas Fritsch" <thomas.fritsch@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
Re: JButton sizing ? "TonyB" <tonyb@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
Re: JButton sizing ? "Ian Wilson" <ian.wilson@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
Re: JButton sizing ? "TonyB" <tonyb@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
Re: JButton sizing ? "Ian Wilson" <ian.wilson@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
Re: JButton sizing ? "Tony B" <tony.b@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
Re: JButton sizing ? "Karsten Lentzsch" <karsten.lentzsch@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
csiph-web