horizontal split panel refreshing only one component

Hi, Can anyone tell me how to update only second component of horizontal split and not the first component

There is a method called setSecondComponent(Component) in the splitpanel for this purpose.

I have tried this one too but could not make it work. what i was trying was that i make a default splitpanel and as i navigate i write in the Enter function as setSecondComponent(Component) but could not make it work. The screen was going blank.