Name

confirm — This method will present a dialog box and query for an 'Ok' or 'Cancel' answer.

Syntax

boolean confirm ( String message , String title )