void (boolean isStaticAndEmbedded) { myIsStaticAndEmbedded = isStaticAndEmbedded; myDualView.setZipByHeight(isStaticAndEmbedded); myDualView.getFlatView().updateColumnSizes(); if (myIsStaticAndEmbedded) { myDualView.getFlatView().getTableHeader().setBorder(IdeBorderFactory.createBorder(SideBorder.TOP)); myDualView.getTreeView().getTableHeader().setBorder(IdeBorderFactory.createBorder(SideBorder.TOP)); myDualView.getFlatView().setBorder(null); myDualView.getTreeView().setBorder(null); } }