Changeset 23437 in osm for applications
- Timestamp:
- 2010-10-02T11:53:37+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/smed/src/smed
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/src/smed/plug/manager/SmedPluginManagerImpl.java
r23426 r23437 14 14 @Override 15 15 public void setString(String string) { 16 System.out.println("setString string:\t" + string);17 16 this.string = string; 18 17 } … … 20 19 @Override 21 20 public String getString() { 22 System.out.println("getString string\t" + string);23 21 return string; 24 22 } -
applications/editors/josm/plugins/smed/src/smed/tabs/SmedTabAction.java
r23419 r23437 75 75 } 76 76 }); 77 frame.setSize(new Dimension(420, 460));77 frame.setSize(new Dimension(420, 550)); 78 78 // frame.pack(); 79 79 frame.setVisible(true); -
applications/editors/josm/plugins/smed/src/smed/tabs/SmedTabbedPane.java
r23426 r23437 12 12 import javax.swing.JPanel; 13 13 import javax.swing.JTabbedPane; 14 import javax.swing.event.ChangeEvent; 15 import javax.swing.event.ChangeListener; 14 16 15 17 import org.openstreetmap.josm.Main; … … 32 34 33 35 public SmedTabbedPane() { 34 super(new GridLayout(1, 1));36 // super(new GridLayout(1, 1)); 35 37 36 38 String pluginDirName = Main.pref.getPluginsDirectory().getAbsolutePath(); … … 41 43 if(plugins != null) { 42 44 ImageIcon icon = null; 43 tabbedPane = new JTabbedPane(); 45 if(tabbedPane == null) { 46 tabbedPane = new JTabbedPane(); 47 tabbedPane.addChangeListener(new ChangeListener() { 48 49 @Override 50 public void stateChanged(ChangeEvent event) { 51 System.out.println("hello world"); 52 } 53 }); 54 } 44 55 45 56 JComponent panel; … … 78 89 public static List<SmedPluggable> getPlugins() { return plugins; } 79 90 public static JTabbedPane getTabbedPane() { return tabbedPane; } 91 92 /* 93 @Override 94 public void stateChanged(ChangeEvent event) { 95 System.out.println("hello world"); 96 97 } 98 */ 80 99 }
Note:
See TracChangeset
for help on using the changeset viewer.