Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

about setActionCommand method [closed]

Tags:

java

swing

I'm beginner in java

I need to know more about

button.setActionCommand(String command)

I need a command that read variable value, or read integers from text file

thanx in advance

like image 585
A. Sabti Avatar asked Apr 23 '26 15:04

A. Sabti


1 Answers

Here's all you need to know about the setActionCommand() method in a Button, in the javadocs. Now that we're at it, I'd rather recommend you use JButton instead.

And please check a tutorial, it's the best you can do when you're learning a new programming language.

like image 115
Óscar López Avatar answered Apr 26 '26 04:04

Óscar López



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!