Ignore:
Timestamp:
Apr 12, 2013, 6:21:37 PM (12 years ago)
Author:
alloc
Message:

AEI2.02:

  • Refs #23: Doesn't show on MacOS yet
Location:
java/installer2/src/net/oni2/aeinstaller/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • java/installer2/src/net/oni2/aeinstaller/gui/MainWin.java

    r805 r806  
    1111import java.io.File;
    1212import java.io.FileNotFoundException;
     13import java.io.IOException;
     14import java.net.URI;
     15import java.net.URISyntaxException;
    1316import java.net.URL;
    1417import java.util.Date;
     
    403406                new AboutDialog().setVisible(true);
    404407        }
     408       
     409        @SuppressWarnings("unused")
     410        private void showHelp() {
     411                try {
     412                        Desktop.getDesktop().browse(new URI("http://wiki.oni2.net/AEI"));
     413                } catch (IOException e) {
     414                        e.printStackTrace();
     415                } catch (URISyntaxException e) {
     416                        e.printStackTrace();
     417                }
     418        }
    405419
    406420        private JFileChooser getConfigOpenSaveDialog(boolean save) {
  • java/installer2/src/net/oni2/aeinstaller/gui/MainWin.yml

    r805 r806  
    1313    - Action(name=settings, text=menu.settings, toolTipText=menu.settingsTooltip, icon=img.settings, onAction=[showSettings])
    1414    - Action(name=about, text=menu.about, toolTipText=menu.aboutTooltip, icon=img.about, onAction=[showAbout])
     15    - Action(name=help, text=menu.help, toolTipText=menu.helpTooltip, icon=img.help, onAction=[showHelp])
    1516    - Action(name=runOniFull, text=menu.runOniFull, toolTipText=menu.runOniFullTooltip, icon=img.oni, onAction=[oniFull])
    1617    - Action(name=runOniWin, text=menu.runOniWin, toolTipText=menu.runOniWinTooltip, icon=img.oni, onAction=[oniWin])
     
    2526        - JMenu(name=mainMenu, text=menu.main):
    2627            - JMenuItem(action=about)
     28            - JMenuItem(action=help)
    2729            - JMenuItem(action=settings)
    2830            - JMenuItem(action=exitAction)
Note: See TracChangeset for help on using the changeset viewer.