My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
TaskDialogCommonUseCases  
Updated May 6, 2011 by eryzhikov

Common Use Cases

Common uses cases are covered by TaskDialogs class. It's usage is trivial and can be illustrated by the following code

TaskDialogs.inform( "You've won!", "The game is over with the 15:3 score");
TaskDialogs.isConfirmed( "Are you sure you want to quit?", "Please do not quit yet!");
int choice = TaskDialogs.radioChoice("You've got selection to make", "Go ahead", 1, "Yes", "No", "May be" );

try {
  new BigDecimal("seven");
} catch( Throwable ex ) {
  TaskDialogs.showException(ex);
}

It produces following set of dialogs:


Sign in to add a comment
Powered by Google Project Hosting