Changeset 23259 in osm for applications


Ignore:
Timestamp:
2010-09-19T11:31:04+02:00 (14 years ago)
Author:
postfix
Message:

some new features added to smed

Location:
applications/editors/josm/plugins/smed/src/smed
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed/src/smed/tabs/SmedTabAction.java

    r23236 r23259  
    1515import org.openstreetmap.josm.tools.Shortcut;
    1616
     17import smed.menu.SmedMenuBar;
     18
    1719public class SmedTabAction extends JosmAction {
    1820
     
    2729                                tr("Tool: {0}", "Seekarten Editor"), KeyEvent.VK_K, //$NON-NLS-1$ //$NON-NLS-2$
    2830                                Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT), true);
    29 
    30         try {
    31             UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    32         } catch (Exception e) {
    33             e.printStackTrace();
    34         }
    3531    }
    3632
     
    4945        //Create and set up the window.
    5046        JFrame frame = new JFrame("TabbedPaneDemo");
    51         // frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    52         // frame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
    5347        frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
    5448
    5549        //Add content to the window.
     50        frame.setJMenuBar(new SmedMenuBar());
    5651        frame.add(new SmedTabbedPane(), BorderLayout.CENTER);
    5752
Note: See TracChangeset for help on using the changeset viewer.