Changeset 23259 in osm for applications
- Timestamp:
- 2010-09-19T11:31:04+02:00 (14 years ago)
- 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 15 15 import org.openstreetmap.josm.tools.Shortcut; 16 16 17 import smed.menu.SmedMenuBar; 18 17 19 public class SmedTabAction extends JosmAction { 18 20 … … 27 29 tr("Tool: {0}", "Seekarten Editor"), KeyEvent.VK_K, //$NON-NLS-1$ //$NON-NLS-2$ 28 30 Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT), true); 29 30 try {31 UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());32 } catch (Exception e) {33 e.printStackTrace();34 }35 31 } 36 32 … … 49 45 //Create and set up the window. 50 46 JFrame frame = new JFrame("TabbedPaneDemo"); 51 // frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);52 // frame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);53 47 frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); 54 48 55 49 //Add content to the window. 50 frame.setJMenuBar(new SmedMenuBar()); 56 51 frame.add(new SmedTabbedPane(), BorderLayout.CENTER); 57 52
Note:
See TracChangeset
for help on using the changeset viewer.