Control key « Event « Java Swing Q&A





1. KeyListener with Control key    coderanch.com

Hi, I'm trying to create a text input field with keyboard shortcuts to write non-standard characters: 'a' adds an a, 'ctrl+a' adds an a with an accent, 'alt+a' and 'ctrl+alt+a' add different accents etc. This works fine for the alt modifier but I get no response from the control key, or I press 'ctrl + a' and it selects the whole ...

2. control of PrtScr key through java    coderanch.com

hi, i have to implement security option copy in my application. i need to block the print screen key(ptrscr). when user press prtscr key in my application then doesnt allow copy image to clipboard or clear image from clipboard before paste it or block the PrtScr key. How can i implement it. can anyone please give me suggestion. Thanks & Regards ...