@Override public boolean isPanelEnabled(){
  if (groupCheckbox == null) {
    return true;
  }
 else {
    return groupCheckbox.isSelected();
  }
}

@ Override public boolean isPanelEnabled ( ) { if ( groupCheckbox == null ) { return true ; } else { return groupCheckbox . isSelected ( ) ; } }
checks if is panel enabled .
