| Author |
Manage Layouts in java
|
dushantha Rathnayake
Ranch Hand
Joined: Feb 27, 2010
Posts: 100
|
|
Hi,
I am using eclipse. Using this I can develop swing interfaces (using UI editor). In netbeans also I can developed the interfaces. but the problem is in eclipse I have to set the layout. In netbeans do not need to set the layout. The advantage in netbeans is we can design the interface freely and after execute if we click the maximize button then full interface maximized with internal panels,buttons,text boxes, etc.. How can I do this in eclipse? I want to design freely and I want flexible execution in run time. How can I do this? are there any layout that I can use? or any other solution?
Thank you.
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8434
|
|
Search the forums. There are lots of topics where not using UI builders is encouraged. You will also find the reasoning for that.
For layouts, http://download.oracle.com/javase/tutorial/uiswing/layout/using.html
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
dushantha Rathnayake
Ranch Hand
Joined: Feb 27, 2010
Posts: 100
|
|
Hi
Actually I know about some layouts. But they are not free (freely draw the interfaces). I mean in Layout null state we can develop (drag and draw) interfaces very easy. If we use box layout, GridLayout,etc.. we have to develop our GUI according to their structure. I want to know are their a method or a plugging for eclipse to develop interfaces as in netbeans. I mean the tool or the plugging have to manage the layouts. we don't need to set them.
Thank you.
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8434
|
|
dushantha Rathnayake wrote: I want to know are their a method or a plugging for eclipse to develop interfaces as in netbeans. I mean the tool or the plugging have to manage the layouts. we don't need to set them.
You mean to say you are willing to invest time searching for a plugin, and then learning how the plugin works and how to integrate with your code? And you want to invest all this time and energy because you dont want to write something simple such as myPanel.setLayout(new FlowLayout(FlowLayout.CENTER));
|
 |
dushantha Rathnayake
Ranch Hand
Joined: Feb 27, 2010
Posts: 100
|
|
Maneesh Godbole wrote: myPanel.setLayout(new FlowLayout(FlowLayout.CENTER));
Hi,
Is this simple and easy method for very complex and spiral model development ???
Thank you.
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8434
|
|
|
What's spiral model development? I am not sure I understand.
|
 |
Anand Shrivastava
Ranch Hand
Joined: Jul 22, 2007
Posts: 125
|
|
|
So far as UI is concerned, even I found netbeans better than eclipse.
|
Anand Shrivastava
SCJA
|
 |
Mario Bud
Greenhorn
Joined: Sep 09, 2011
Posts: 3
|
|
|
in my honest opinion using a gui builder is not really worth it. they can only help you with the "positioning" which is by far the easiest part of constructing a gui anyway. of course i gave it a shot, but i found it better (at least for me) to make the positioning myself. it might take longer but produces better readable/structured code which you really understand.
|
 |
 |
|
|
subject: Manage Layouts in java
|
|
|