Code example for AlertDialog

Methods: getButtongetWindow