public class GGInputString
extends java.lang.Object
| Constructor and Description |
|---|
GGInputString(java.lang.String title,
java.lang.String prompt)
Creates a modal dialog with given title, prompt and no initial value.
|
GGInputString(java.lang.String title,
java.lang.String prompt,
java.lang.String init)
Creates a modal dialog with given title, prompt and initial value.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
show()
Returns the user input when the Ok button is clicked.
|
public GGInputString(java.lang.String title,
java.lang.String prompt,
java.lang.String init)
title - the title string in the title barprompt - the prompt stringinit - an initial text put in the text fieldpublic GGInputString(java.lang.String title,
java.lang.String prompt)
title - the title string in the title barprompt - the prompt string