Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #4243
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!newsfeed1.swip.net!uio.no!ntnu.no!not-for-mail |
|---|---|
| From | Bent C Dalager <bcd@pvv.ntnu.no> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Aligned elements in a JComboBox |
| Date | Wed, 18 May 2011 09:13:11 +0000 (UTC) |
| Organization | Norwegian university of science and technology |
| Lines | 22 |
| Message-ID | <slrnit73d7.ako.bcd@microbel.pvv.ntnu.no> (permalink) |
| References | <iqu8i1$ks3$1@news.belwue.de> <JGxAp.4755$iv4.3479@newsfe09.iad> <iquj14$f38$1@news.belwue.de> <7TEAp.10530$ZM2.10334@newsfe19.iad> |
| NNTP-Posting-Host | microbel.pvv.ntnu.no |
| X-Trace | orkan.itea.ntnu.no 1305709991 26692 129.241.210.179 (18 May 2011 09:13:11 GMT) |
| X-Complaints-To | usenet@ntnu.no |
| NNTP-Posting-Date | Wed, 18 May 2011 09:13:11 +0000 (UTC) |
| User-Agent | slrn/pre1.0.0-18 (Linux) |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:4243 |
Show key headers only | View raw
On 2011-05-18, Knute Johnson <nospam@knutejohnson.com> wrote:
>
> (...) You might consider extending that though or write your
> own layout manager.
While my own personal approach to component layout is to take out my
very big Layout Mallet and repeatedly smash it into GridBagLayout
until it does what I want(*), I think the intent of the Swing (or even
AWT) designers was that people would be writing their own specialized
layouts when they have special needs.
So presumably this is actually a practical thing to do. I would
definitely look into it for a situation like this.
Cheers,
Bent D
* There probably isn't a layout mallet big enough to make
GridBagLayout work for the problem at hand though.
--
Bent Dalager - bcd@pvv.org - http://www.pvv.org/~bcd
powered by emacs
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Aligned elements in a JComboBox Thomas Richter <thor@math.tu-berlin.de> - 2011-05-17 18:42 +0200
Re: Aligned elements in a JComboBox Knute Johnson <nospam@knutejohnson.com> - 2011-05-17 09:49 -0700
Re: Aligned elements in a JComboBox Thomas Richter <thor@math.tu-berlin.de> - 2011-05-17 21:41 +0200
Re: Aligned elements in a JComboBox Knute Johnson <nospam@knutejohnson.com> - 2011-05-17 18:00 -0700
Re: Aligned elements in a JComboBox Bent C Dalager <bcd@pvv.ntnu.no> - 2011-05-18 09:13 +0000
Re: Aligned elements in a JComboBox "John B. Matthews" <nospam@nospam.invalid> - 2011-05-18 07:56 -0400
Re: Aligned elements in a JComboBox Roedy Green <see_website@mindprod.com.invalid> - 2011-05-19 10:29 -0700
csiph-web