File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Manage Layouts in java

 
dushantha Rathnayake
Ranch Hand
Posts: 103
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10976
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
dushantha Rathnayake
Ranch Hand
Posts: 103
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maneesh Godbole wrote: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


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
Posts: 10976
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 103
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10976
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's spiral model development? I am not sure I understand.
 
Anand Shrivastava
Ranch Hand
Posts: 125
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So far as UI is concerned, even I found netbeans better than eclipse.
 
Mario Bud
Greenhorn
Posts: 3
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic