and then i add the treedocSplitpane to the Window.
This works almost perfect, there is a problem i cant solve.
When open the window the master(_documentNewFrame) is drawing its doc to the left and the slave((_documentoldFrame) is drawing to the right.
This looks good, but when running on a XWindow with slo update i notice that thay switches places to draw in? documentoldFrame is drawing to the left and so on? when loading the docs it looks good but when scrooling thay are jumping from drawing in the left to the right and so on. The result is not looking to good.
Shold not this deside where it shold be drawing? _documentSplitpane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, _documentNewFrame, _documentOldFrame);