How Can we use WinJS with java script in java project?

81 Views Asked by At

I have one requirement for disable print screen capture in browser in my java web application.

I did lot of research and found that it is not possible. But I found WinJS java script in which it provide this functionality of disabling screen capture.

Now I am not sure whether this WinJS can be use in java script in my java web project or not ?If yes than how ?

I have tried to implement this in my java project but no SUCCESS !!!

1

There are 1 best solutions below

2
On

Short answer, you can not implement Javascript in java, these are 2 different things.

WinJS is intended to be used into windows applications created in html/css/javascript, not Java applications

Maybe there's a Java aproach to fit your requirements, but i dont think so. The print screen funcitionality is embebbed in the operative system, so i think is hard to disable this.