Originally posted by Rob Prime: I think that a KeyListener will help you out a bit more. You'll need to store whether or not the S is still pressed though.
Ya, I think I've got an idea now. Using a key listener I'll keep track when either the "S" or "C" key are pressed. And then when the JButton is pressed I'll simply check whether the "S" key is also pressed.