How to internationalize accelerator of JMenuitem?
<p>I use jdk 1.6 and i'd like to internationalize the accelerator of my menu item.
the default language is french and i want to translate in english. I use the code below : </p>

<pre><code>JMenuItem deleteMenuItem = new JMenuItem("delete");
deleteMenuItem.setLocale(Locale.ENGLISH);
deleteMenuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_DELETE,0));
</code></pre>

<p>but my accelerator is always in french.
How can I resolve this ? 
Thanks in advance.</p>