aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "What is the horizontal length?" Watch "What is the horizontal length?" New topic
Author

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.
regards
maulin
Hades Pan
Ranch Hand

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