设置其中一个最小值也能做到
    //设置左右画板的最小边框  
    tab.setMinimumSize(new Dimension(400, 0));
    treeScroll.setMinimumSize(new Dimension(200, 0));