For each text field in your frame, invoke the addKeyListener method. Then implement and override the keyPressed method, as others have indicated ...
確定! 回上一頁