Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

271
Visualizações
Is there a way to create a pop-up window with text in Vaadin 14 that disallows copying the text?

we are using Vaadin 14 and attempting to create a pop-up Window of some sort, that contains a TextArea with text in it.

We would like to know how to prevent this text from being copied, both by Ctrl+C, and by disabling right click.

We are aware that this is not perfect protection, and that a savvy user can view the source of the page to retrieve the content.

Disabling the TextArea has the intended effect of preventing copying and pasting of the text, but it also disallows scrolling in case the text is larger than the TextArea itself.

I tried to disable the TextArea itself, which does seem to prevent copying content from TextArea, but it also disables the scrollbars.

Is there a way to do this without sacrificing scrollbars for the sake of preventing copying / right click menu on a TextArea?

Thank you.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda