|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object confirmbox2.ConfirmBox2
public class ConfirmBox2
Constructor Summary | |
---|---|
ConfirmBox2()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Opens a popup box with a question and Yes and No buttons. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfirmBox2()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.lang.Exception
Example: java -jar ConfirmBox2.jar "Do you wish to continue?"
pops up a window with the message "Do you wish to continue?". If the user clicks the Yes button, the program prints the line
Yes
[message
- message to be printed in the box][title
- title for popup box]
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |