File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Generate personal button with java (textual adventure building) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Generate personal button with java (textual adventure building)" Watch "Generate personal button with java (textual adventure building)" New topic
Author

Generate personal button with java (textual adventure building)

Ben Doe
Greenhorn

Joined: Aug 11, 2013
Posts: 1
Hi all,

I've got two questions :

I use this script, send "word" for receive "answer" :


-> But i'd like receive this button (with his script) instead of "answer" :


-> Second question, is it also possible to define the button that will appear depending on what you will write in the text area ?

Thanks for your help.
Ashwini Kashyap
Ranch Hand

Joined: Aug 30, 2012
Posts: 90
To answer to your questions,
1) Please check the difference between == and ===
2) Yes, that is possible to define the button that will appear depending on what is written in the text area. All you can do is, collect dynamic data entered by the user and then assign it to button text.

Hope this helps.

Thanks,
Ashwini Kashyap | www.infocepts.com
 
Don't get me started about those stupid light bulbs.
 
subject: Generate personal button with java (textual adventure building)