Introduction to Java Programming-Comprehensive Version (6th Edition)

 

[Page 1086 ( continued )]

Review Questions

Sections 31.2 “31.7

31.1 How do you initialize a table? Can you specify the maximum number of visible rows in a table without scrolling? How do you specify the height of a table cell ? How do you specify the horizontal margin of table cells ?
31.2 How do you modify table contents? How do you add or remove a row? How do you add or remove a column?
31.3 What is auto-resizing of a table column? How many types of auto-resizing are available?
31.4 What are the properties that show grids, horizontal grids, and vertical grids? What are the properties that specify the table row height, vertical margin, and horizontal margin?
31.5 What are the default table renderers and editors? How do you create a custom table cell renderer and editor?
31.6 What are the default tree renderers and editors? How do you create a custom tree cell renderer and editor?
31.7 How do you disable table cell editing?

Sections 31.8 “31.14

31.8 How do you create a tree? How do you specify the row height of a tree node? How do you obtain the default tree model and tree selection model from an instance of JTree ?
31.9 How do you initialize data in a tree using TreeModel ? How do you add a child to an instance of DefaultMutableTreeNode ?
31.10 How do you enable tree node editing?
31.11 How do you add or remove a node from a tree?
31.12 How do you obtain a selected tree node?

 

Категории