Change an AbstractAction name <p>I have a JMenuItem bounded to an Action that I can get using <code>item.getAction()</code>. The action name is set when constructing the Action, e.g. using anonymous <code>new AbstractAction(String text, ...)</code>. The text field is set according to a ResourceBundle and localization information. Now if I want to change localization, I would like to change the Action.NAME field so that it displays the proper localized name. I can only get the name, e.g. using <code>item.getAction().NAME</code> but cannot change the field as it is final. </p> <p>How could I change it's name?</p>