Setting parameter in GUI

Please advice which component I have to use for setting double parameter into text field, so I can write code like:
if (x <=(parameter in field)) {
}
Other word how to read double variable from this field.
gbcbrAsked:
Who is Participating?
 
objectsCommented:
JTextField
0
 
objectsCommented:
0
 
gbcbrAuthor Commented:
Thank you for the helpful link, but this is second question.
Sorry for not accurate question, it should be like this:

Please advice which GUI component I have to use .........
0
 
gbcbrAuthor Commented:
Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.