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 ?
Dedesign GUI - Which is the most common layout ?
Page 1 of 12 Replies - 583 Views - Last Post: 15 March 2013 - 10:55 AM
Replies To: Dedesign GUI - Which is the most common layout ?
#2
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().
For example, you can have a main BorderLayout() with the BorderLayout.WEST having a GridLayout() while the BorderLayout.EAST has a FlowLayout().
#3
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()
FlowLayout, GridLayout, BorderLayout, Box.createHorizontalBox() and Box.createVerticalBox()
Page 1 of 1

New Topic/Question
Reply


MultiQuote



|