Here you can find the source of about(JMenuItem anItem)
public static void about(JMenuItem anItem)
//package com.java2s; //License from project: Open Source License import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JMenuItem; import javax.swing.JOptionPane; public class Main { /**// w ww .j ava 2 s . c o m * public static void invalidPath() { JOptionPane.showMessageDialog(null, * "No se puede salvar un juego dentro de la carpeta " + * "'levels'.\nVuelve a intentarlo.", "Error!", JOptionPane.ERROR_MESSAGE); * } */ public static void about(JMenuItem anItem) { anItem.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent event) { JOptionPane.showMessageDialog(null, "Trabajo Practico especial\nProgramacion " + "Orientada a Objetos.\n\nDaniel Lobo - " + "Teresa C. Di Tada - Felipe Martinez\n " + " 2012", "About Sokoban", JOptionPane.INFORMATION_MESSAGE); } }); } }