How can I use JTextField to read the inputted text correctly?

后端 未结 0 589
别那么骄傲
别那么骄傲 2020-11-30 23:38

I want to make it so that the text I enter into the JTextField fruit is read on button press, and prints "apple" if the entered text is apple, and "not apple&

相关标签:
回答
  • 消灭零回复
提交回复
热议问题