References


Self-Test Questions

1. 

Explain the difference between the computer screen’s coordinate system and a typical algebraic Cartesian system.

2. 

2. What is the difference between LayoutManager2 and LayoutManager?

3. 

What is the difference between a component and a container?

4. 

Are Swing components (JComponents) containers? Explain.

5. 

Which JComponents allow the user to enter text?

6. 

Which JComponents represent boolean values?

7. 

Which JComponents allow the user to select from a discrete number of options?

8. 

What are the three Swing top-level containers and what are their differences?

9. 

Which layout managers automatically resize the components they contain?

10. 

List and describe the various fields of the GridBagConstraints object.

11. 

Why would one use a layout manager?

12. 

How is a JMenu like a JComboBox?

13. 

Name two layout managers that layout components based on the order in which they were added to a container.

14. 

Name two constraints-based layout managers.




Java For Artists(c) The Art, Philosophy, and Science of Object-Oriented Programming
Java For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504052
EAN: 2147483647
Year: 2007
Pages: 452

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net