Q2. Design a Java Netbeans 6.5.1 GUI application to find out subtraction of two numbers?
Create a GUI application as per following screenshot.
//This statement will obtain a numeric value from the textfield.
//set as text in textfield.
Output of the above program will be: