I am trying to create a GUI that has on the left pane a Jtree and on the right ( or centre ) of the GUI depending on what node in the tree has been clicked a jpanel with textfields, textareas etc will appear for example
lets say i have a jtree root called
- Thread creation
and within the node Thread creation there is a Jtextfield where i can enter the amount of threads I want to create. Could someone please give me some sample code, as I can only get it to work that if i click a node some text can appear in a text pane in the centre, how can i do this that i can change the configuration of the thread creation node so that if i click on another node the entered details will be there e.g sample code to test.