@Override
            public void propertyChange(PropertyChangeEvent e) {
                JSplitPane sourcePane = (JSplitPane) e.getSource();
                if (e.getPropertyName().equals(JSplitPane.LAST_DIVIDER_LOCATION_PROPERTY)) {
                    dividerLocation = GUI.getFrame().getWidth() - sourcePane.getDividerLocation();

                }
            }