How can I use a button and enter key for the same thing? (Java)

后端 未结 0 627
萌比男神i
萌比男神i 2021-01-18 08:57

So basically I have a button which executes this code:

@Override
public void actionPerformed(ActionEvent e) {
    String textString = text.getText();
    Doub         


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