});
layers.add(item);
}
if (!repeatKeyUsed) {
MultikeyInfo lastLayer = action.action.getLastMultikeyAction();
if (lastLayer != null) {
JMenuItem repeateItem = new JMenuItem(formatMenuText(action.shortcut.getKeyStroke(),
KeyEvent.getKeyText(action.shortcut.getKeyStroke().getKeyCode()),
"Repeat " + lastLayer.getDescription()));
repeateItem.setMnemonic(action.shortcut.getKeyStroke().getKeyCode());
repeateItem.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
action.action.executeMultikeyAction(-1, true);