src/main/java/seedu/address/ui/InfoPanel.java
public void resetPanel() {
        tags.getChildren().clear();
        image.setImage(null);
        name.setText(null);
        id.setText(null);
        resetSubHeader();
        resetLabel();
        StyleUtil.resetLabelStyle(secondLabel);
        StyleUtil.resetLabelStyle(fifthLabel);
        StyleUtil.resetLabelStyle(ninthLabel);
    }
/**
     * Delete the old texts on the info panel
     */
Delete the old texts on the info panel
Delete the old texts on the info panel
public void resetPanel() {
        tags.getChildren().clear();
        image.setImage(null);
        name.setText(null);
        id.setText(null);
        resetSubHeader();
        resetLabel();
        StyleUtil.resetLabelStyle(secondLabel);
        StyleUtil.resetLabelStyle(fifthLabel);
        StyleUtil.resetLabelStyle(ninthLabel);
    }
public void resetPanel ( ) { tags . getChildren ( ) . clear ( ) ; image . setImage ( null ) ; name . setText ( null ) ; id . setText ( null ) ; resetSubHeader ( ) ; resetLabel ( ) ; StyleUtil . resetLabelStyle ( secondLabel ) ; StyleUtil . resetLabelStyle ( fifthLabel ) ; StyleUtil . resetLabelStyle ( ninthLabel ) ; }
Delete the old texts on the info panel
Delete the old texts on the info panel