Class Prompt

java.lang.Object
com.martiansoftware.nailgun.examples.Prompt

public class Prompt extends Object
Prompts the user for input using a JOptionPane, and displays the result to the client's stdout. If the user clicks "cancel", the client exits with exit code 1.
  • Constructor Details

    • Prompt

      public Prompt()
  • Method Details

    • nailMain

      public static void nailMain(NGContext context)