Java For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming

Suggested Projects

  1. Borders:   Explore the javax.swing.border package and javax.swing.BorderFactory class.

  2. Writing Your Own Layout Manager:   Investigate the LayoutManager and LayoutManager2 interfaces. Write an alternative BorderLayout class that arranges components according to the diagram in figure 12-46.

    Figure 12-46: Alternate Border Layout

  3. Specialized Containers:   JSplitPane and JTabbedPane are specialized containers for holding more than one component. Investigate them and write an application that uses them.

Категории