Firefox and Chrome both click on JavaScript and their own client and disable Java for political reasons, not security reasons. Where there is a short period of time, when some specific versions of Java Plugin, where there is a security problem. Apple blocked these versions, while FF and Chrome used it as an excuse to completely disable it.
Which technology is best for your use. If development time is the most important factor, I would say that applets using the Swing environment are the way to go. You can use the Swing constructor in Netbeans to quickly create a GUI: s. In addition, the performance of the Swing-based GUI is superior to the performance of Flash or HTML + JavaScript.
But keep in mind that browser support will be limited, users will receive security issues, etc. However, if the data you are viewing is interesting enough for the user, it does not matter.
If I need to create a website to run that should work well in all browsers, fit into search engines, etc. Applets will be a dead end.
If I need to develop a complex website that presents data that is already in demand from an existing user base, I would go for Java applets.
As a third option, you can do both. Make a simplified website using HTML + JavaScript and a more advanced version of the applet using Swing. This would be a viable option even for sites that should be attractive to new users, where some materials will be available for search engines, and the first page will work in all browsers.
user1657170
source share