News

When the button is pressed, then the macro is executed. One cool feature in JSR-223 is to allow scripts to implement Java interfaces. For example, we wish to implement the ActionListener interface.
The java.awt.event package and JNI help complete that task. The AWT event model defines the ActionListener interface, which listens to the user interactions with the menu.