@Override
    public void atualizar(int area, boolean incendio) {

        if (area == 1) {
            if (incendio) {
                jLarea1.setText("incendio");
                jPanelArea1.setBackground(new Color(255, 0, 51));
            } else {
                jLarea1.setText("sem incendio");
                jPanelArea1.setBackground(new Color(240, 240, 240));
            }
        }
        
        else if(area == 2){
            if (incendio) {
                jLarea2.setText("incendio");
                jPanelArea2.setBackground(new Color(255, 0, 51));
            } else {
                jLarea2.setText("sem incendio");
                jPanelArea2.setBackground(new Color(240, 240, 240));
            }
        }
        
        else if (area == 3){
             if (incendio) {
                jLarea3.setText("incendio");
                jPanelArea3.setBackground(new Color(255, 0, 51));
            } else {
                jLarea3.setText("sem incendio");
                jPanelArea3.setBackground(new Color(240, 240, 240));
            }
        }
    }