getActionCommand « Event « Java Swing Q&A





1. How does one know what are the valid commands in Swing's getActionCommand()?    stackoverflow.com

How to know which commands are available? I tried looking up in the Java SDK, but didn't find a thing about it. The only way I can think of is this way

class ...