About the setActionCommand method

I am starting in java

I need to know more about

button.setActionCommand(String command)


I need a command that reads the value of a variable or reads integers from a text file

thanx in advance


source to share

1 answer

Here is all you need to know about the method setActionCommand()

in Button

in the javadocs . Now that we do that, I would rather use JButton


And please check the tutorial , this is the best thing you can do when learning a new programming language.



All Articles