1 7 package org.jahia.sqlprofiler.gui; 8 9 import java.awt.event.ActionEvent ; 10 import javax.swing.AbstractAction ; 11 import org.apache.log4j.Category; 12 13 19 class ExitAction 20 extends AbstractAction  21 { 22 23 private static final Category LOG = Category.getInstance(ExitAction.class); 24 25 public static final ExitAction INSTANCE = new ExitAction(); 26 27 28 private ExitAction() {} 29 30 34 public void actionPerformed(ActionEvent aIgnore) { 35 LOG.info("shutting down"); 36 System.exit(0); 37 } 38 } 39 | Popular Tags |