The layout of a container can be altered by using which of the following methods :-

A) setLayout(aLayoutManager)
B) layout(aLayoutManager)
C) addLayout(aLayoutManager)
D) setLayoutManager(aLayoutManager)

Showing Answers 1 - 6 of 6 Answers

D.V.Narasimha Rao

  • Feb 23rd, 2006
 

Hi

  The layout of contaniner can be changed by

  a. setLayout(LayoutManager)

eg: pan.setLayout(new BorderLayout())

any doubts , plz ask

Narasimha Rao

jazib

  • Jan 31st, 2013
 

B) layout(aLayoutManager)

  Was this answer useful?  Yes

indresh

  • Jan 28th, 2017
 

D) setLayoutManager(aLayoutManager)

  Was this answer useful?  Yes

bala

  • Aug 15th, 2017
 

SetLayout()

Code
  1.  

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions