2 Replies - 583 Views - Last Post: 15 March 2013 - 10:55 AM Rate Topic: -----

#1 tieugiang94   User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 160
  • Joined: 07-December 11

Dedesign GUI - Which is the most common layout ?

Posted 15 March 2013 - 08:00 AM

Today I learned some layout in Java ( FlowLayout,GirdLayout,CardLayout,BorderLayout)
Is there the most common to design layout ? ( I know when we need you user these layout , e.g: Girdlayout)
Some time we design a simple form, we need to use these layout ? or just use free design ?
Is This A Good Question/Topic? 0
  • +

Replies To: Dedesign GUI - Which is the most common layout ?

#2 Flukeshot   User is offline

  • A little too OCD
  • member icon

Reputation: 418
  • View blog
  • Posts: 1,030
  • Joined: 14-November 12

Re: Dedesign GUI - Which is the most common layout ?

Posted 15 March 2013 - 08:31 AM

Design, by definition, is the personal touch you give your programs. It is entirely your choice to use any of the layouts - and you can even use multiple layouts at once.

For example, you can have a main BorderLayout() with the BorderLayout.WEST having a GridLayout() while the BorderLayout.EAST has a FlowLayout().
Was This Post Helpful? 1
  • +
  • -

#3 pbl   User is offline

  • There is nothing you can't do with a JTable
  • member icon

Reputation: 8381
  • View blog
  • Posts: 31,956
  • Joined: 06-March 08

Re: Dedesign GUI - Which is the most common layout ?

Posted 15 March 2013 - 10:55 AM

I'd say that 95% of my GUIs are made using a combination of these:

FlowLayout, GridLayout, BorderLayout, Box.createHorizontalBox() and Box.createVerticalBox()
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1