lundi 25 mars 2019

How to take user input from JtextField and set them to commands?

New to java and am trying to take user input from a JTextField such as up, down, left. (Which the user must type) and assign them to a to these variable i have been given in a class as commands. wanting to know if anyone can show me how you would do it with a general piece of code. using constructors.

Aucun commentaire:

Enregistrer un commentaire