Page 99 - IP
P. 99

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


               String Name=jTextField1.getText();


                       JOptionPane.showMessageDialog(this,Name+"Logged in"+"Password
               Ignored,will be checked again later");


               }





























               Q9. Demo of Switch statement.
   94   95   96   97   98   99   100   101   102   103   104