3435363738394041424344
putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke("control N")); } @Override protected void doPerformAction() { NewMapDialog nmd = new NewMapDialog(YaFrame.get()); Map newMap = nmd.create(); if (newMap != null) { editor.setCurrentMap(newMap); } }