Class Prompt
- java.lang.Object
-
- com.martiansoftware.nailgun.examples.Prompt
-
public class Prompt extends java.lang.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 Summary
Constructors Constructor Description Prompt()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
nailMain(NGContext context)
-
-
-
Method Detail
-
nailMain
public static void nailMain(NGContext context)
-
-