Create Software Components 

Using Java Level 2

 

 

Course Info

Scheme

Resources

Tutorials

Java Demos

Utilities

Links


 

    Quiz 10 - Answers

Layout Managers

 

Question 1.   

(b) organize components in a container

Question 2.         

(b) false    (it's the other way around)

Question 3.         

(c) GridLayout

Question 4.   

(b) FlowLayout

Question 5.         

(a) BorderLayout

Question 6.         

(d) BoxLayout  

Question 7.         

(c) Use the .LEFT, .CENTER, .RIGHT parameters.

Question 8.    

BorderLayout

Question 9.         

FlowLayout

Question 10.   

1

Question 11.   

5

Question 12.         

(a) true

Question 13.         

(a) true

Question 14.   

(a) false

Question 15.         

(c) GridLayout

Question 16.         

(a) BorderLayout

Question 17.         

(a) Use the setLayout method

Question 18.    

getContentPane().setLayout(new FlowLayout (flowLayout.CENTER));

Question 19.         

mainPanel.setLayout(new BorderLayout());

Question 20.   

mainPanel.add(bt, BorderLayout.NORTH);

 

        

 

  Site Home 

Java Home   

  Forum  

Course Info

Welcome

Overview

Assessment

Qualification

Scheme of Work

Assignments

Resources

Information

Blackboard

Learning Center

Web Materials

Reading

Java Demos

Utilities

Links

Lecture Materials

Tutorials & Notes

Exercises

Activities

Quizzes

 

Site Home

Top

Unit Home

ADR 2002