Changeset 19 in josm for src/org


Ignore:
Timestamp:
2005-10-09T23:57:09+02:00 (19 years ago)
Author:
imi
Message:

added about dialog

Location:
src/org/openstreetmap/josm
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/gui/Main.java

    r18 r19  
    1010import javax.swing.JOptionPane;
    1111import javax.swing.JPanel;
     12import javax.swing.JSeparator;
    1213import javax.swing.JToolBar;
    1314import javax.swing.UIManager;
    1415
     16import org.openstreetmap.josm.actions.AboutAction;
    1517import org.openstreetmap.josm.actions.ExitAction;
    1618import org.openstreetmap.josm.actions.OpenGpxAction;
     
    6971                ExitAction exitAction = new ExitAction();
    7072                PreferencesAction preferencesAction = new PreferencesAction();
     73                AboutAction aboutAction = new AboutAction();
    7174
    7275                // creating menu
     
    9194                editMenu.add(preferencesAction);
    9295                mainMenu.add(editMenu);
     96               
     97                mainMenu.add(new JSeparator());
     98                JMenu helpMenu = new JMenu("Help");
     99                helpMenu.setMnemonic('H');
     100                helpMenu.add(aboutAction);
     101                mainMenu.add(helpMenu);
    93102
    94103                // creating toolbar
Note: See TracChangeset for help on using the changeset viewer.