Package no.ntnu.idatt1002.spendwise.home
Class ConfirmBox
java.lang.Object
no.ntnu.idatt1002.spendwise.home.ConfirmBox
A class that creates a window for the user to confirm an action.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ConfirmBox
public ConfirmBox()
-
-
Method Details
-
display
Creates a window with a title and a message.- Parameters:
title
- The title of the window.message
- The message to be displayed in the window.- Returns:
- True if the user clicks yes, false if the user clicks no.
-