public void actionPerformed(ActionEvent e)
{
String templateName = (String)cbTemplate.getSelectedItem();
Editor editor = new Editor(parent);
editor.open(Templates.getByName(templateName));
// Repopulate the templates list
Collection<String> templateNames = Templates.getUserTemplateNames();
lmTemplateNames.clear();
lmTemplateNames.addAll(templateNames);