How do I write Java code that will press the Shift, Home and End keyboard buttons?
<p>All I can find on google is code to add listeners and events to wait for buttons to be pressed.</p>

<p>I am trying to make it so that the code actually presses the buttons.</p>

<p>I know that KeyModifier.SHIFT and Key.HOME exist but I don't know how to use them or if they are the right keywords.</p>

<p>Any help would be greatly appreciated.</p>
