// Create the split pane that separates folder panels and allows to resize how much space is allocated to the
// both of them. The split orientation is loaded from and saved to the preferences.
// Note: the vertical/horizontal terminology used in muCommander is just the opposite of the one used
// in JSplitPane which is anti-natural / confusing.
splitPane = new ProportionalSplitPane(this,
MuConfigurations.getSnapshot().getVariable(MuSnapshot.getSplitOrientation(0), MuSnapshot.DEFAULT_SPLIT_ORIENTATION).equals(MuSnapshot.VERTICAL_SPLIT_ORIENTATION) ?
JSplitPane.HORIZONTAL_SPLIT:JSplitPane.VERTICAL_SPLIT,
false,
MainFrame.this.leftFolderPanel,
MainFrame.this.rightFolderPanel) {