Frage

I am stuck using JideSoft at the momemnt. I have a DockableFrame, which will have many views on it. I want to hide the tabs that let me switch between views, but I cannot figure out how. Can anybody help?

War es hilfreich?

Lösung

User can right click on the tab or the title of DockableFrame to select close menu item to close it. If you refer to how to close it using API, DockingManager.hideFrame will do it.

Andere Tipps

DockableFrame.hideFrame(String frameName) works perfectly.

If you want to hide/unhide a component inside a DockableFrame you'll need to access that component, set the visibility

component.setVisibility(!component.isVisible());

and then ask the parent DockableFrame to revalidate itself.

parentFrame.revalidate();
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top