Page 88 - IP
P. 88

code for "clear" button:


               private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {

               jTextField1.setText("");


                jTextField2.setText("");

               jTextField3.setText("");


               }













               Q2.  Make simple decision making (if statement) application and display

               relevant message using GUI application (Example- problems related to
               Eligibility for a given age, Profit or Loss message for a given value.
   83   84   85   86   87   88   89   90   91   92   93