24ac97e0ebf9e9991b73d5b5c905bfc5c84f259b
[debian/jabref.git] / src / java / net / sf / jabref / journals / ManageJournalsAction.java
1 package net.sf.jabref.journals;
2
3 import net.sf.jabref.JabRefFrame;
4 import net.sf.jabref.Globals;
5 import net.sf.jabref.Util;
6
7 import javax.swing.*;
8 import java.awt.event.ActionEvent;
9
10 /**
11  * Created by IntelliJ IDEA.
12  * User: alver
13  * Date: Sep 22, 2005
14  * Time: 10:45:02 PM
15  * To browseOld this template use File | Settings | File Templates.
16  */
17 public class ManageJournalsAction extends AbstractAction {
18
19     JabRefFrame frame;
20
21     public ManageJournalsAction(JabRefFrame frame) {
22         super(Globals.lang("Manage journal abbreviations"));
23         this.frame = frame;
24     }
25     public void actionPerformed(ActionEvent actionEvent) {
26         ManageJournalsPanel panel = new ManageJournalsPanel(frame);
27         Util.placeDialog(panel.getDialog(), frame);
28         panel.setValues();
29         panel.getDialog().setVisible(true);
30     }
31 }