Package 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
-
-
Constructor Summary
Constructors Constructor Description StopButtonService()
-
-
-
Method Detail
-
setName
public void setName(String name)
-
start
public void start()
-
-