public void mouseClicked(MouseEvent e) {
DockingManager manager = ((JideApplicationWindow)getActiveWindow()).getDockingManager();
if (SwingUtilities.isLeftMouseButton(e) && e.getClickCount() == 2) {
if (!autohideAll) {
fullScreenLayout = manager.getLayoutRawData();
manager.autohideAll();
autohideAll = true;
}
else {
// call next two methods so that the farme bounds and state will not change.
manager.setUseFrameBounds(false);