org.onebusaway.container.stop
Class StopButtonService
java.lang.Object
org.onebusaway.container.stop.StopButtonService
public class StopButtonService
- extends Object
Utility class that pops up a simple Swing dialog with a "Stop" button that
will cause your program to gracefully exit when pressed. Useful when you need
a convenient way during testing for stopping a command-line program that
would typically run forever by default.
- Author:
- bdferris
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StopButtonService
public StopButtonService()
setName
public void setName(String name)
start
public void start()
Copyright © 2012 OneBusAway. All Rights Reserved.