Java Tutorial Community: JTree and Borders Code Samples
I've been working away on building "code samples" for the Java Tutorial Community Portal. Each one is an example of a piece of code that at one time or another I've found useful. I'm not sure which ones will be interesting or even worthy of a full on tutorial. I'm just posting them and looking for feedback. I have four code samples today.
1. SwitchRootDemo - Demonstrates how to change the root of a default tree model.
4. CustomBorderDemo - Demonstrates how to use Java2D to create a custom border.
I have a few other examples in the works for trees. I hope to post that in a few days.
- Login or register to post comments
- 2020 reads
- Flag as offensive
- Email this Story
- Printer-friendly version
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)








Comments
Geertjan Wielenga replied on Wed, 2008/06/04 - 12:14am