@@ -0,0 +1,3190 @@
+/**%0A * The MIT License (MIT)%0A * Copyright (c) 2016 Mark Bernard%0A * %0A * Permission is hereby granted, free of charge, to any person obtaining a copy of %0A * this software and associated documentation files (the %22Software%22), to deal in the %0A * Software without restriction, including without limitation the rights to use, copy, %0A * modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, %0A * and to permit persons to whom the Software is furnished to do so, subject to the following conditions:%0A * %0A * The above copyright notice and this permission notice shall be included in all copies or %0A * substantial portions of the Software.%0A * %0A * THE SOFTWARE IS PROVIDED %22AS IS%22, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, %0A * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR %0A * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE %0A * FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR %0A * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.%0A */%0Apackage io.github.markbernard.jnotepad.action;%0A%0Aimport io.github.markbernard.jnotepad.JNotepad;%0A%0Aimport java.awt.event.ActionEvent;%0Aimport java.awt.event.KeyEvent;%0A%0Aimport javax.swing.AbstractAction;%0A%0A/**%0A * @author Mark Bernard%0A */%0Apublic class HelpAction extends AbstractAction %7B%0A    private static final long serialVersionUID = -4083560520034375524L;%0A%0A    /**%0A     * %0A     */%0A    public HelpAction() %7B%0A        putValue(NAME, %22Help%22);%0A        putValue(MNEMONIC_KEY, KeyEvent.VK_H);%0A    %7D%0A%0A    @Override%0A    public void actionPerformed(ActionEvent e) %7B%0A    %7D%0A    %0A    /**%0A     * @author Mark Bernard%0A     */%0A    public static class ViewHelpAction extends AbstractAction %7B%0A        private static final long serialVersionUID = -1640517285601598321L;%0A        private JNotepad jNotepad;%0A%0A        /**%0A         * @param jNotepad%0A         */%0A        public ViewHelpAction(JNotepad jNotepad) %7B%0A            this.jNotepad = jNotepad;%0A            putValue(NAME, %22View Help%22);%0A            putValue(MNEMONIC_KEY, KeyEvent.VK_H);%0A        %7D%0A%0A        @Override%0A        public void actionPerformed(ActionEvent e) %7B%0A            new Thread(new Runnable() %7B%0A                @Override%0A                public void run() %7B%0A                    jNotepad.help();%0A                %7D%0A            %7D, %22View Help%22).start();%0A        %7D%0A    %7D%0A%0A%0A    /**%0A     * @author Mark Bernard%0A     */%0A    public static class AboutAction extends AbstractAction %7B%0A        private static final long serialVersionUID = -1640517285601598321L;%0A        private JNotepad jNotepad;%0A%0A        /**%0A         * @param jNotepad%0A         */%0A        public AboutAction(JNotepad jNotepad) %7B%0A            this.jNotepad = jNotepad;%0A            putValue(NAME, %22About%22);%0A            putValue(MNEMONIC_KEY, KeyEvent.VK_A);%0A        %7D%0A%0A        @Override%0A        public void actionPerformed(ActionEvent e) %7B%0A            new Thread(new Runnable() %7B%0A                @Override%0A                public void run() %7B%0A                    jNotepad.about();%0A                %7D%0A            %7D, %22About%22).start();%0A        %7D%0A    %7D%0A%7D%0A

Create HelpAction.java