This week's book giveaway is in the Cloud forum.
We're giving away four copies of Terraform in Action and have Scott Winkler on-line!
See this thread for details.
Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Manage Layouts in java

 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What's spiral model development? I am not sure I understand.
 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So far as UI is concerned, even I found netbeans better than eclipse.
 
Greenhorn
Posts: 3
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic