JButton getActionCommand

How to use JButton getActionCommand Method

This tutorial will teach you how to use JButton getActionCommand Method.java.swing.JButton class has several methods that you should learn.These are:-

JButton Class Methods

JButton getActionCommand  Example

 

 Output

JButton getActionCommand