Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #23837
| From | Joerg Meier <joergmmeier@arcor.de> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Dynamically Adding Components into Panel |
| Date | 2013-05-05 10:03 +0200 |
| Message-ID | <a7qe7syq4ala.139t75fw94a95.dlg@40tude.net> (permalink) |
| References | <bf1a796a-9302-4ee9-8827-aef5431b389a@googlegroups.com> |
On Sat, 4 May 2013 21:50:43 -0700 (PDT), Sourabh Mhaisekar wrote: > Hello there, I want to add some Swing components dynamically depend on user's input. Those components will be used to create database table. But I am facing problem of aligning them properly, any suggestions ? Use one of the various LayoutManagerS. There are a variety that come with Java, as well as some very useful 3rd party alternatives. If you had HTML exposure, you might find TableLayout the most intuitive - it's a lot like tables in HTML. For the Sun/Oracle LMs, check out: http://docs.oracle.com/javase/tutorial/uiswing/layout/visual.html Liebe Gruesse, Joerg -- Ich lese meine Emails nicht, replies to Email bleiben also leider ungelesen.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
Dynamically Adding Components into Panel Sourabh Mhaisekar <sourabh8044@gmail.com> - 2013-05-04 21:50 -0700 Re: Dynamically Adding Components into Panel Joerg Meier <joergmmeier@arcor.de> - 2013-05-05 10:03 +0200
csiph-web