View/StoreView.java
public void createNotEnoughAlert(){
        Alert alert = new Alert(Alert.AlertType.NONE, "You don't have enough coins to buy this item");
        alert.getDialogPane().getStylesheets().add("/View/stylesheet.css");

        ButtonType alertButton1 = new ButtonType("Ok");
        alert.getButtonTypes().setAll(alertButton1);
        alert.showAndWait();

    }
/*On call, creates an alert that tells the user that they don't
     *have enough coins to buy the item in which they clicked
     */
On call, creates an alert that tells the user that they don't
have enough coins to buy the item in which they clicked
On call creates an alert that tells the user that they don ' t have enough coins to buy the item in which they clicked
public void createNotEnoughAlert(){
        Alert alert = new Alert(Alert.AlertType.NONE, "You don't have enough coins to buy this item");
        alert.getDialogPane().getStylesheets().add("/View/stylesheet.css");
        ButtonType alertButton1 = new ButtonType("Ok");
        alert.getButtonTypes().setAll(alertButton1);
        alert.showAndWait();
    }
public void createNotEnoughAlert ( ) { Alert alert = new Alert ( Alert . AlertType . NONE , "You don't have enough coins to buy this item" ) ; alert . getDialogPane ( ) . getStylesheets ( ) . add ( "/View/stylesheet.css" ) ; ButtonType alertButton1 = new ButtonType ( "Ok" ) ; alert . getButtonTypes ( ) . setAll ( alertButton1 ) ; alert . showAndWait ( ) ; }
On call, creates an alert that tells the user that they don't
have enough coins to buy the item in which they clicked
On call creates an alert that tells the user that they don ' t have enough coins to buy the item in which they clicked