There is a signed applet that should read data from the port. The applet is completely working and signed as expected. I am trying to start it from my html like this:

<!DOCTYPE html> <html> <head> <title>Applet-Test</title> </head> <body> <h1> Hi html works </h1> <applet code="MyApplet.class" archive="myapplet.jar" width=320 height=320> <param name="locale" value="de"/> </applet> </body> </html> 

This option works now. But such a question now Security Settings block signed applet launched via Javascript

  • In this case, the applet is already working normally on the site. What am I doing wrong in HTML? Maybe you need permission to somehow include? - Helena2977
  • And there you have a com port opens? Probably the ban is on such actions. And then you got into the habit of fumbling through the ports from the Internet. Then the money disappears, compromising pops up somewhere. Chrome in general already probably stopped supporting even applets. - Sergey
  • @Sergey, but not. A signed applet can do a lot of things. Just can't get the property to the system property purejavacomm.loglevel - Nofate
  • @ Helena2977, look for the java.policy file. You need to request permission java.util.PropertyPermission "purejavacomm.loglevel", "read"; Perhaps in the project even somewhere remained this file. - Nofate
  • java.ppolicy is available only in Java. There is no such applet in the project. And I do not understand why the same applet runs through the site with the necessary resolution, but I don’t? Maybe something needs to be configured in HTML? I have a connection to the device via USB. The driver for the device is installed. - Helena2977

0