private JSplitPane createMainSplitPane(){
  final JSplitPane mainSplitPane=new JSplitPane();
  mainSplitPane.setOneTouchExpandable(true);
  mainSplitPane.setDividerLocation(250);
  mainSplitPane.setResizeWeight(0.33);
  mainSplitPane.setOrientation(JSplitPane.HORIZONTAL_SPLIT);
  m_componentPanel.setBackground(Color.WHITE);
  mainSplitPane.setLeftComponent(createProjectTreePanel());
  mainSplitPane.setRightComponent(m_componentPanel);
  mainSplitPane.setBorder(new LineBorder(Color.GRAY));
  return mainSplitPane;
}

private JSplitPane createMainSplitPane ( ) { final JSplitPane mainSplitPane = new JSplitPane ( ) ; mainSplitPane . setOneTouchExpandable ( true ) ; mainSplitPane . setDividerLocation ( 250 ) ; mainSplitPane . setResizeWeight ( 0.33 ) ; mainSplitPane . setOrientation ( JSplitPane . HORIZONTAL_SPLIT ) ; m_componentPanel . setBackground ( Color . WHITE ) ; mainSplitPane . setLeftComponent ( createProjectTreePanel ( ) ) ; mainSplitPane . setRightComponent ( m_componentPanel ) ; mainSplitPane . setBorder ( new LineBorder ( Color . GRAY ) ) ; return mainSplitPane ; }
creates the main split pane . the main split pane divides the main window into project tree on the left side of the main window and the state - specific views on the right side of the main window .
