This demo adds two push-buttons to an existing PDF document.
For this we created a more or less simple class, that extends the Widget annotation class, to represent a push button field.