public void disconnect(int frameNo) {
        switch (frameNo) {
            case 1:                
                jCheckBox1.setSelected(false);
                bpmValue1.setText("Not connected");
                minValue1.setText("");
                maxValue1.setText("");
                lastUpdateValue1.setText("");
                alarmLog1.setText("");
                break;
            case 2:               
                jCheckBox2.setSelected(false);
                bpmValue2.setText("Not connected");
                minValue2.setText("");
                maxValue2.setText("");
                lastUpdateValue2.setText("");
                alarmLog2.setText("");
                break;
            case 3:                
                jCheckBox3.setSelected(false);
                bpmValue3.setText("Not connected");
                minValue3.setText("");
                maxValue3.setText("");
                lastUpdateValue3.setText("");
                alarmLog3.setText("");
                break;
            case 4:
                jCheckBox4.setSelected(false);
                bpmValue4.setText("Not connected");
                minValue4.setText("");
                maxValue4.setText("");
                lastUpdateValue4.setText("");
                alarmLog4.setText("");
                break;
            default:
                break;
        }
    }