Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #23835 > unrolled thread
| Started by | Sourabh Mhaisekar <sourabh8044@gmail.com> |
|---|---|
| First post | 2013-05-04 21:50 -0700 |
| Last post | 2013-05-05 10:03 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.java.programmer
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
| From | Sourabh Mhaisekar <sourabh8044@gmail.com> |
|---|---|
| Date | 2013-05-04 21:50 -0700 |
| Subject | Dynamically Adding Components into Panel |
| Message-ID | <bf1a796a-9302-4ee9-8827-aef5431b389a@googlegroups.com> |
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 ? Thank you !
[toc] | [next] | [standalone]
| From | Joerg Meier <joergmmeier@arcor.de> |
|---|---|
| Date | 2013-05-05 10:03 +0200 |
| Message-ID | <a7qe7syq4ala.139t75fw94a95.dlg@40tude.net> |
| In reply to | #23835 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web