src/main/java/seedu/address/ui/MainWindow.java
private void switchList(Region leftRegion, Region rightRegion) {
        dataListPanelPlaceholder.getChildren().clear();
        dataListPanelPlaceholder.getChildren().add(leftRegion);

        extraListPanelPlaceholder.getChildren().clear();
        extraListPanelPlaceholder.getChildren().add(rightRegion);
        ftListPanelLeft.play();
        ftListPanelRight.play();
    }
/**
     * Switch the list panel to the given region
     */
Switch the list panel to the given region
Switch the list panel to the given region
private void switchList(Region leftRegion, Region rightRegion) {
        dataListPanelPlaceholder.getChildren().clear();
        dataListPanelPlaceholder.getChildren().add(leftRegion);
        extraListPanelPlaceholder.getChildren().clear();
        extraListPanelPlaceholder.getChildren().add(rightRegion);
        ftListPanelLeft.play();
        ftListPanelRight.play();
    }
private void switchList ( Region leftRegion , Region rightRegion ) { dataListPanelPlaceholder . getChildren ( ) . clear ( ) ; dataListPanelPlaceholder . getChildren ( ) . add ( leftRegion ) ; extraListPanelPlaceholder . getChildren ( ) . clear ( ) ; extraListPanelPlaceholder . getChildren ( ) . add ( rightRegion ) ; ftListPanelLeft . play ( ) ; ftListPanelRight . play ( ) ; }
Switch the list panel to the given region
Switch the list panel to the given region