com.sun.jini.example.browser
Class Browser.Exit

java.lang.Object
  extended bycom.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.


Constructor Summary
Browser.Exit()
           
 
Method Summary
 void actionPerformed(ActionEvent ev)
          Calls System.exit(0).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Browser.Exit

public Browser.Exit()
Method Detail

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.