Quote (Eep @ Oct 30 2013 02:24am)
I figured there were tools to do it using popular frameworks, any idea where I can learn about what goes on behind the scenes?
i'm not sure if you're talking about the treeview specifically or navigation in general.
treeview is the tool on the left. pretty sure java's implementation (swing jtree) is open source.
if you're referring to how you control the navigation, then pretty much what you described. there's an event tied to the tree/tab/etc. when the event fires, you unload (hide, tear down, release from memory, etc) the current main panel (jpanel, div, etc) and load the new one. same with any normal navigation bar. works for trees, tabs, etc. sometimes you do it manually, other times frameworks have it for you. then when you create your navigation control, you specify the text as well as the corresponding panel and it takes care of it. android comes to mind
This post was edited by carteblanche on Oct 30 2013 12:37am