Java Reference
In-Depth Information
14 . Modify the EffectsAndTransformsDemo program so the Rotate button is also
blurred. Use a blur width and height of 5 and an iteration count of 2.
To add blur to the Rotate button, first create the BoxBlur instance like this:
Then add the following line:
After making these changes, the Rotate button will be blurred and can also be ro-
tated.
Search WWH ::




Custom Search