Class 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 Detail

      • StopButtonService

        public StopButtonService()
    • Method Detail

      • setName

        public void setName​(String name)
      • start

        public void start()