Age calculator
- Open netbeans and new application.
 - Open new frame and drag the components and arrange them as given below
 
- Here I have written the year 2020 you can write any year as your wish.
 - Open source code and write the code given below
 - Declear the variable and join the jTextField1 with a.
 - Here when we will subtract our birth year from the year till you want your age will provide the correct age you want.
 - Store this value in variable b and print it in next jTextField.
 - Now your program is ready.
 

