Jtree in Jsplitpane + Jtext

Hi,

I am implementing an application using Jtree and JSplitPane .On clicking the node on the the tree, a Jtext and JLabel should come on the right side of the Jsplitpane . The Jtext field should contain the dynamic information.