• 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:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Which layout manager should i use?

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends,

I am new to AWT, I was practicing AWT to make some GUI which later i should modify and use in my project. I saw a GUI in one website and was planning to design like that, but i am not sure which layout manager i should be using. Attaching an image of the same.
clipp.jpg
[Thumbnail for clipp.jpg]
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First off, why AWT and not Swing, which is much more flexible? As for layout managers, take your pick -- and remember that you can nest containers, each with its own layout, to achieve any desired result.
 
Sheriff
Posts: 22862
132
Eclipse IDE Spring TypeScript Quarkus Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'd definitely split up the user interface into three parts:
- the left panel.
- the button bar.
- a JTabbedPane with the rest.

Work on those separately before pasting them together.

You may want to check out your own look&feel afterwards to tweak the looks, but first I'd get the layout working.
 
A feeble attempt to tell you about our stuff that makes us money
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic