File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes What is the horizontal length? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "What is the horizontal length?" Watch "What is the horizontal length?" New topic

What is the horizontal length?

Hades Pan
Ranch Hand

Joined: Nov 25, 2001
Posts: 106
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

Joined: Nov 04, 2001
Posts: 1871
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.
Hades Pan
Ranch Hand

Joined: Nov 25, 2001
Posts: 106
Thanks Maulin!
I agree. Here's the link:
subject: What is the horizontal length?
Similar Threads
About Thread and String. Help!
A little geometry and algebra anyone?
String.length() returns strange results
which is correct?