1 19 20 package org.netbeans.modules.junit.output; 21 22 import java.awt.event.ActionEvent ; 23 import javax.swing.AbstractAction ; 24 import org.openide.util.NbBundle; 25 26 32 public final class ResultWindowOpenAction extends AbstractAction { 33 34 37 public ResultWindowOpenAction() { 38 String name = NbBundle.getMessage(ResultWindowOpenAction.class, 39 "TITLE_TEST_RESULTS"); putValue(NAME, name); 41 putValue("iconBase", "org/netbeans/modules/junit/output/res/testResults.png"); } 44 45 50 public void actionPerformed(ActionEvent e) { 51 ResultWindow resultWindow = ResultWindow.getInstance(); 52 resultWindow.open(); 53 resultWindow.requestActive(); 54 } 55 56 } 57 | Popular Tags |