Ask the Expert

Is there a way to get user input in Java just like inputbox in LotusScript?

I am writing an agent in Java that will send a document to an intended recipient. The way I am coding it, it requires users to type in an e-mail address to whom the documents needs to go to.

My question is,: Is there a way to get user input in Java just like inputbox in LotusScript? If not, what is the alternate (in Java obviously)?

You can use a number of classes to support input dialogs using Java. The JOPtionPane versions are nice. You should start at this Sun tutorial.

Do you have comments on this Ask the Expert question and response? Let us know.

This was first published in May 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: