Jump to content

Handling user input

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
tpanderson5

tpanderson5

    Newbie

  • Members
  • Pip
  • 1 posts
If I have a text box for user input, how do i set a variable to accept the user data so I can use it in the program?

#2
ksemeks

ksemeks

    Learning Programmer

  • Members
  • PipPipPip
  • 57 posts
String con = field.getText(); 

I think this should work for you.
// d-_-b+