Here you can find the source of userManualMenuItem()
protected static JMenuItem userManualMenuItem()
//package com.java2s; /*//from w ww .ja va2s .com Copyright (C) 2009 Dan Cardin redbeardtechnologies@gmail.com This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JMenuItem; import javax.swing.JOptionPane; public class Main { protected static JMenuItem userManualMenuItem() { JMenuItem menu_item = new JMenuItem("User Manual"); menu_item.getAccessibleContext().setAccessibleDescription( "User Manual"); /*Action Listener for Displaying the tutorial*/ menu_item.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent event) { JOptionPane.showMessageDialog(null, "go to http://zae.sourceforge.net"); } }); return menu_item; } }