• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is the horizontal length?

 
Hades Pan
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like this which one is right?
Which will be used to resize only the horizontal length?
a) FlowLayout
b) GridBagLayout
c) BorderLayout
d) GridLayout
e) both b and d
f) both c and b
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi hades,
according to me it would be "flowlayout". 'coz gridbaglayout can be used for both controls, gridlayout of course does expansion in both direction so border and rest of the layouts....
've not tested this thru code tho.
regards
maulin
 
Hades Pan
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Maulin!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic