src/main/java/seedu/address/ui/MainWindow.java
/**
     * Opens the weight stats window or focuses on it if it's already opened.
     */
Opens the weight stats window or focuses on it if it's already opened.
Opens the weight stats window or focuses on it if it ' s already opened .
@FXML
    public void handleWeightStats() {
        if (!weightStatsWindow.isShowing()) {
            weightStatsWindow.show();
        } else {
            weightStatsWindow.focus();
        }
    }
@ FXML public void handleWeightStats ( ) { if ( ! weightStatsWindow . isShowing ( ) ) { weightStatsWindow . show ( ) ; } else { weightStatsWindow . focus ( ) ; } }
Opens the weight stats window or focuses on it if it's already opened.
Opens the weight stats window or focuses on it if it ' s already opened .