<div><div dir="auto">Hi, just chiming in,</div><div dir="auto"><br></div><div dir="auto"></div></div><div><div><p style="font-family:-apple-system,helveticaneue;font-size:13px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;background-color:rgba(0,0,0,0);border-color:rgb(0,0,0);color:rgb(0,0,0)" dir="auto">> (Though you didn’t quite get the name right: there’s no Ex at the end…</p></div></div><div dir="auto">The method `<span style="font-family:"dejavu sans mono",monospace;font-size:14px;white-space:pre-wrap;float:none;display:inline!important;color:rgb(53,56,51)">getMenuShortcutKeyMaskEx</span>` has been introduced in JDK10</div><div dir="auto"><br></div><div><div dir="auto"><div><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Toolkit.html#getMenuShortcutKeyMaskEx%28%29">https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/Toolkit.html#getMenuShortcutKeyMaskEx()</a></div><br></div><div dir="auto">> <span style="font-family:-apple-system,helveticaneue;background-color:rgba(0,0,0,0);border-color:rgb(0,0,0);color:rgb(0,0,0)">Is there any way to get the “usual” letter for a “common” operation?</span></div><div dir="auto"><br></div><div dir="auto">Isn't it a per application choice, even if OS stock applications use some default, it's pretty standard to use xcv letters regardless of the OS.</div><div dir="auto">Possibly you could be interested by other letters like z (undo) or y (redo), but again it seems like an app choice in the end.<br clear="all"><br><div dir="auto">Brice<br></div></div><div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 4, 2024 at 00:01 <<a href="mailto:mark.yagnatinsky@barclays.com" target="_blank">mark.yagnatinsky@barclays.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Thanks for the response!  I didn’t expect to get one at this point
<span style="font-family:Wingdings">J</span><u></u><u></u></p>
<p class="MsoNormal">It does indeed answer my question!<u></u><u></u></p>
<p class="MsoNormal">(Though you didn’t quite get the name right: there’s no Ex at the end…<u></u><u></u></p>
<p class="MsoNormal">I take it you’ve done some Windows programming at some point)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">But now I have a new question…<u></u><u></u></p>
<p class="MsoNormal">Is there any way to get the “usual” letter for a “common” operation?<u></u><u></u></p>
<p class="MsoNormal">For instance, lots of programs support copy and paste.<u></u><u></u></p>
<p class="MsoNormal">Is there a way to ask Java “what is the standard letter for paste” and get back “V”?<u></u><u></u></p>
<p class="MsoNormal">Again, one could create a scratch text area and grovel through its input map, but that seems hacky.<u></u><u></u></p>
</div>

<p><span lang="EN-US">This message is for 
information purposes only. It is not a recommendation, advice, offer or 
solicitation to buy or sell a product or service, nor an official confirmation 
of any transaction. It is directed at persons who are professionals and is 
intended for the recipient(s) only. It is not directed at retail customers. This 
message is subject to the terms at: <a href="https://www.ib.barclays/disclosures/web-and-email-disclaimer.html" target="_blank">https://www.ib.barclays/disclosures/web-and-email-disclaimer.html</a>. 
</span></p>
<p><span lang="EN-US">For important disclosures, 
please see: <a href="https://www.ib.barclays/disclosures/sales-and-trading-disclaimer.html" target="_blank">https://www.ib.barclays/disclosures/sales-and-trading-disclaimer.html</a> 
regarding marketing commentary from Barclays Sales and/or Trading desks, who are 
active market participants; <a href="https://www.ib.barclays/disclosures/barclays-global-markets-disclosures.html" target="_blank">https://www.ib.barclays/disclosures/barclays-global-markets-disclosures.html</a> 
regarding our standard terms for Barclays Investment Bank where we trade with 
you in principal-to-principal wholesale markets transactions; and in respect to 
Barclays Research, including disclosures relating to specific issuers, see: <a href="http://publicresearch.barclays.com" target="_blank">http://publicresearch.barclays.com</a>.<br>__________________________________________________________________________________ 
<br>If you are incorporated or operating in Australia, read these important 
disclosures: <a href="https://www.ib.barclays/disclosures/important-disclosures-asia-pacific.html" target="_blank">https://www.ib.barclays/disclosures/important-disclosures-asia-pacific.html</a>.<br>__________________________________________________________________________________<br>For 
more details about how we use personal information, see our privacy notice: <a href="https://www.ib.barclays/disclosures/personal-information-use.html" target="_blank">https://www.ib.barclays/disclosures/personal-information-use.html</a>. 
<br>__________________________________________________________________________________<br><u></u></span></p>
</div>

</blockquote></div></div>
</div>