Java Page
Home Java Page Interests Photo Album Favorites Jo'burg Rogues Gallery Downloads Framepage Leopard Video

 

Applet Tester
Applet Tester 2
Sounds
Graphics Tool
Big Brother

Java Page

Part of the purpose of this website is as a home for my experiments. One of my first experiments is an Applet that some of you may have seen in a cruder form in e-mail messages. Contrast this with a second version of this Applet, I think what we are seeing here is one consequence of the difference between the Java Event Models at 1.0 and 1.1. Both the Applets were built using 1.0 ( The Hierarchical Event Model ) and produce the same results when run. The basic idea of the applet is that each of the two buttons has a somewhat larger panel behind it and we detect when the mouse enters the panel and change the button label to 'Yes', i.e. the user can never click on 'No' The difference between the 2 applets is that the first also contains code to switch the button labels back when the mouse exits the panel. Neither will compile with JDK 1.2. Using a 1.0 JVM with the Hierarchical Event Model entering a button does not mean leaving the panel, however with the Delegation Event Model of 1.1 and later releases it does. If anyone has any comments on this please let me know.

 

NEW FEATURE => SOUND

NEW FEATURE => GRAPHICS

Want to know more about your JVM ? Follow Me.

 

This page was last updated on 02/15/99.