private void carregaDados() {
        lblLocalidade.setText(atracao.getLocalizacao());
        double preco = ((Hotel) atracao).getPrecoMedio();
        if (preco == 0) {
            lblPreco.setText(bundle.getString("Gratis"));
        } else {
            lblPreco.setText(((Hotel) atracao).getPrecoMedio() + "€");
        }
        lblNQuartos.setText("" + ((Hotel) atracao).getnQuartos());

//traducao do numero de estrelas nas imagens correspondentes.
        int estrela = ((Hotel) atracao).getnEstrelas();
        switch (estrela) {
            case 1:
                lblEstrela.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/1star.png")));
                break;
            case 2:
                lblEstrela.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/2star.png")));
                break;
            case 3:
                lblEstrela.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/3star.png")));
                break;
            case 4:
                lblEstrela.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/4star.png")));
                break;
            case 5:
                lblEstrela.setIcon(new javax.swing.ImageIcon(getClass().getResource("/images/5star.png")));
                break;
            default:
                throw new AssertionError();
        }

    }