src/main/java/seedu/address/ui/MainWindow.java
@FXML
    private void handleSwitchToStudent() {
        //Enable extra List
        extraListPanelPlaceholder.setMaxSize(originalExtraPanelWidth, originalExtraPanelHeight);
        extraListPanelPlaceholder.setVisible(true);
        currentView = "STUDENT";
        switchList(studentListPanel.getRoot(), studentDetailedPanel.getRoot());
    }
/**
     * Switch to the Person view.
     */
Switch to the Person view.
Switch to the Person view .
@FXML
    private void handleSwitchToStudent() {
        extraListPanelPlaceholder.setMaxSize(originalExtraPanelWidth, originalExtraPanelHeight);
        extraListPanelPlaceholder.setVisible(true);
        currentView = "STUDENT";
        switchList(studentListPanel.getRoot(), studentDetailedPanel.getRoot());
    }
@ FXML private void handleSwitchToStudent ( ) { extraListPanelPlaceholder . setMaxSize ( originalExtraPanelWidth , originalExtraPanelHeight ) ; extraListPanelPlaceholder . setVisible ( true ) ; currentView = "STUDENT" ; switchList ( studentListPanel . getRoot ( ) , studentDetailedPanel . getRoot ( ) ) ; }
Switch to the Person view.
Switch to the Person view .
//Enable extra List