* add icon for List panel Create button

This commit is contained in:
Reinhard Pointner 2015-11-23 13:27:28 +00:00
parent 9e0154647c
commit 861b0e1b12
1 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ import javax.swing.JTextField;
import javax.swing.KeyStroke; import javax.swing.KeyStroke;
import javax.swing.SpinnerNumberModel; import javax.swing.SpinnerNumberModel;
import net.filebot.ResourceManager;
import net.filebot.format.ExpressionFormat; import net.filebot.format.ExpressionFormat;
import net.filebot.similarity.SeriesNameMatcher; import net.filebot.similarity.SeriesNameMatcher;
import net.filebot.ui.FileBotList; import net.filebot.ui.FileBotList;
@ -84,7 +85,7 @@ public class ListPanel extends JComponent {
SwingUI.installAction(this, KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), createAction); SwingUI.installAction(this, KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), createAction);
} }
private AbstractAction createAction = new AbstractAction("Create") { private AbstractAction createAction = new AbstractAction("Create", ResourceManager.getIcon("action.export")) {
@Override @Override
public void actionPerformed(ActionEvent evt) { public void actionPerformed(ActionEvent evt) {