SHARE
TWEET

Untitled

a guest Jul 17th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (chkM1.isSelected() && chkM2.isSelected()&&
  2.             chkP1.isSelected() && chkP2.isSelected()&&
  3.             chkP3.isSelected() && chkP4.isSelected()&&
  4.             chkP5.isSelected() && chkP6.isSelected()){
  5.             lblGrade.setText("Grade:Merit");}
  6.  
  7.                else
  8.                    if (chkP1.isSelected() && chkP2.isSelected()&&
  9.             chkP3.isSelected() && chkP4.isSelected()&&
  10.             chkP5.isSelected() && chkP6.isSelected()){
  11.             lblGrade.setText("Grade:Pass");}
  12.  
  13.                    else
  14.                        lblGrade.setText("Grade:fail");
RAW Paste Data
Top