New Activity
Play Fill in the Blanks Game
int n = JOptionPane . showConfirmDialog (

frame , " Would you like green eggs and ham ? " ,

" An Inane Question " ,

JOptionPane . YES_NO_OPTION ) ;

____________________ ( n = = ____________________ . YES_OPTION )

{

setLabel ( " Ewww ! " ) ;

}

else

if ( n = = JOptionPane . NO_OPTION )

{

____________________ ( " Me neither ! " ) ;

}

____________________

{

setLabel ( " Come on - - tell me ! " ) ;

}