Well, one example might be if you wanted to have right-click bring up a menu that let you, say, log in an admin or put in a password that enabled the button.
The actionPerformed event is coupled to the button being enabled or disabled, however.
Well, one example might be if you wanted to have right-click bring up a menu that let you, say, log in an admin or put in a password that enabled the button.
The actionPerformed event is coupled to the button being enabled or disabled, however.