|
|
|
Magercise 2 PrerequisitesTree Views Skeleton Code
A Tasks:
CellRenderer that implements the TreeCellRenderer
interface. First, create a constructor that creates a JLabel to
use as a renderer, be sure to make it opaque.
The
Implement the
Modify the constructor for
In the
Add the tree cell rendered to the parameter list to the Save everything and compile the program. Then run it to see the results.
Where help exists, the task numbers above are linked to the step-by-step help page. SolutionThe following Java source files represent a solution to this Magercise:Magercise 3Short CourseAbout This Short CourseCopyright © 1998-1999 MageLang Institute. All Rights Reserved. |
|
|||
|
|
Questions?
29-Mar-99 Copyright © 1996-1999 Sun Microsystems Inc. All Rights Reserved. Legal Terms. Privacy Policy. |
|