2 ms·
> Java applets never had, and never were planned to, have access to the DOM. Well... see https://en.wikipedia.org/wiki/NPAPI#LiveConnect https://en.wikipedia.o
by bzbarsky 10y ago
> Java applets never had, and never were planned to, have access to the DOM.
Well... see https://en.wikipedia.org/wiki/NPAPI#LiveConnect https://en.wikipedia.org/wiki/NPAPI#LiveConnect
Now it's true that it involved more hoops, especially for someone who just knew Java but not DOM bits, so implementing a GUI using Swing or whatever was a path of least resistance. But it wasn't the only path.
> Webasm still can't manipulate the DOM
Not directly, but via FFI to JS it can.... Pretty similar to LiveConnect in some ways.