Your best choice is to use a JTree. You will find examples of how to use JTree in the various web pages you can find by going to JTree tutorial. If you have questions to ask as you go along, we'll be happy to answer them here.
Aaaaaand ... we're on the march. Stylin. Get with it tiny ad.
Devious Experiments for a Truly Passive Greenhouse!