Package edu.harvard.wcfia.yoshikoder

Source Code of edu.harvard.wcfia.yoshikoder.WindowsAboutAction

package edu.harvard.wcfia.yoshikoder;

import java.awt.event.ActionEvent;

import javax.swing.JDialog;

import edu.harvard.wcfia.yoshikoder.ui.dialog.AboutDialog;

public class WindowsAboutAction extends YoshikoderAction {

    protected JDialog dia;
   
    public WindowsAboutAction(Yoshikoder yk) {
        super(yk, WindowsAboutAction.class.getName());
    }

    public void actionPerformed(ActionEvent e) {
        if (dia == null)
            dia = new AboutDialog(yoshikoder);
        dia.setLocationRelativeTo(yoshikoder);
        dia.setVisible(true);
    }

}
TOP

Related Classes of edu.harvard.wcfia.yoshikoder.WindowsAboutAction

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.