com.sun.jini.example.browser
Class Browser.Exit
java.lang.Object
com.sun.jini.example.browser.Browser.Exit
- All Implemented Interfaces:
- ActionListener, EventListener
- Enclosing class:
- Browser
- public static class Browser.Exit
- extends Object
- implements ActionListener
A simple action listener that calls System.exit.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Browser.Exit
public Browser.Exit()
actionPerformed
public void actionPerformed(ActionEvent ev)
- Calls
System.exit(0).
- Specified by:
actionPerformed in interface ActionListener
Copyright 2005, Sun Microsystems, Inc.
Licensed under the Apache License, Version 2.0.