 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
David Guest
|
Posted: Wed Mar 21, 2007 9:46 pm Post subject: a question about UI in JB |
|
|
hi all,
a simple question, I am new to JBuilder, one thing I don't really understand
is that, why in JBuilder I can't fix a control's position, I opened some
samples and noticed that all the controls position are controlled by the
code, is there any benefits of doing that? why can't we define the position
while visualizing it? thanks
david |
|
| Back to top |
|
 |
Lori M Olson [TeamB] Guest
|
Posted: Thu Mar 22, 2007 6:07 am Post subject: Re: a question about UI in JB |
|
|
David wrote:
| Quote: | hi all,
a simple question, I am new to JBuilder, one thing I don't really understand
is that, why in JBuilder I can't fix a control's position, I opened some
samples and noticed that all the controls position are controlled by the
code, is there any benefits of doing that? why can't we define the position
while visualizing it? thanks
david
|
In Java, all the positioning is controlled by the layout manager. You
need to understand layout managers, before you will understand how they
interact with visual designers.
I suggest you start with the Swing Tutorial, in the section on Layout
Managers, and then see if it becomes more clear for you, in the context
of the designer.
http://java.sun.com/docs/books/tutorial/uiswing/layout/index.html
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|