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
An action listener that cancels any lookup service event registration
lease and then 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)
- Cancels any lookup service event registration lease and
calls
System.exit
(0)
.
- Specified by:
actionPerformed
in interface ActionListener
Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.