question: void applyCenterPanel ( GrassMarlin ui ) { if ( treeViewComponent != null ) { centerPanelComponent . add ( treeViewComponent , SplitPane . Position . CENTER ) ; } centerPanelComponent . add ( graphComponent , SplitPane . Position . RIGHT ) ; centerPanelComponent . add ( logComponent , SplitPane . Position . LEFT_BOTTOM ) ; Border b = BorderFactory . createMatteBorder ( 1 , 0 , 1 , 1 , Color . GRAY ) ; Border b2 = BorderFactory . createMatteBorder ( 1 , 1 , 1 , 1 , Color . GRAY ) ; treeViewComponent . setBorder ( b2 ) ; graphComponent . setBorder ( b ) ; logComponent . setBorder ( b2 ) ; centerPanelComponent . setInitialSize ( x , y ) ; Dimension d = new Dimension ( 5 , 5 ) ; ui . add ( new Filler ( d , d , d ) , BorderLayout . WEST ) ; ui . add ( new Filler ( d , d , d ) , BorderLayout . EAST ) ; ui . add ( centerPanelComponent , BorderLayout . CENTER ) ; }
target:  Positions the center two components into something that extends a JSplitPane