org.onebusaway.container.stop
Class StopButtonService

java.lang.Object
  extended by 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
StopButtonService()
           
 
Method Summary
 void setName(String name)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopButtonService

public StopButtonService()
Method Detail

setName

public void setName(String name)

start

public void start()


Copyright © 2011 OneBusAway. All Rights Reserved.