Create following components
- Button
- Label Assignment 2
- Create a Text Field which accepts only integer (N) greater than 0. If user tries to enter any un- acceptable character it should show an error bellow the Text Field.
- Create a label which show Sum - 0 .
- Create a Button with label Sum.
- On Button click calculate sum of all numbers between 1 and N(number entered in Text Field) and sum should be shown in sum label.
- Button & label component should be used created in first assignment.