Domanda

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?

È stato utile?

Soluzione

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.

Altri suggerimenti

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();
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top