Java Certification, Programming, JavaBean and Object Oriented Reference Books
Lesson Eight - Windows and Frames

Many of the topics about windows and frames that we are going to discuss are part of the JavaScript object model, which is a hierarchy of objects related to an HTML document. The top-most object of the model is the Window object which represents a window or a frame in a window. This is mostly used in referencing a secondary window that you are using to display something you want to draw attention to. This object branches out into five new objects: Document, Frame, Location, History, and Navigator.

In the Document object the two lines you are already familiar with, the write() and writeln() methods, refer to the Document object. Within the Document object are several objects that all create an HTML document. You might be familiar with the form object and the anchor object in HTML. If you do know some Java, then you are familiar with the applet object.

Return to : Java Programming Hints and Tips