Accessing native JavaScript objects from Java

In section Writing native JavaScript code with @j2sNative we learn how to include our JavaScript code in our Java classes and how our native JavaScript code can call our Java objects. But, wait a moment, in JavaScript we have access to a the document object model, and a lot of JavaScript utilities and toolkits .... TODO

In Java, all objects are inherited from Java.lang.Object. So they must implement methods like hashCode(), equals(), etc. We say that an object is native when it is created from native JavaScript code and doesn't implements java.lang.Object. .... TODO