I've wanted to add a functionality to my program, if you press a specific key,the window will go fullscreen VIA KEYBINDINGS. And I tried this.getInputMap() and this.getActionKey(), but the JFrame does not have these methods.
Is there any way to use these methods within a JFrame, or are there any other methods, that are doing the same thing? Or should I use Key Listeners?