I am working on a swing application with javafx control (WebView
). In which I have to browse HTML files either in JEditorPane
or WebView
.
But the problem in my project is that I am trying to view HTML files which are encrypted with the help of a software htmlprotecter . It is encrypting the files by invoking the a prompt for entering a password after that the files can be opened in browser. Is there any procedure in Java in which I can pass the password to HTML file to disable javascript and file could be opened in Java programs?