/**
* Creates a new Swing JMenuItem which is associated with the data model command.
*/
public JMenuItem createJMenuItem() {
CommandJMenuItem ret = new CommandJMenuItem(factory.getClientResource(), command, factory.getCommandProcessor());
// ret.setResourceKey(command.getResourceKey());
return ret;
}