Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

269
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!