In the SplitPabe I can add left and right forms (or top and buttom forms). Can I also remove them? Add null? Like tabPanel.removeAllTabs()?
We add these left and right forms dynamically to the SplitPane. In some cases we only need to display one form. So we want to remove the left form and add a right form only. The resizeWeight is 0, so we expect the right form to take all of the space.
why don’t you just not use the splitpanel when you want to hide?
If you store the current state: Hide/Show in a global var, you just let your navigation method decide where to put the form.
That’s how we worked around it.
Of course it depends on your framework if this can be implemented really easy or not…
Actually that’s what I did now. I use a SplitPane and a ‘normal’ TabPanel. One is invisible. But it is good to hear how others solve the requirements. I don’t want to miss a good feature