Changeset 23445 in osm for applications/editors/josm/plugins/smed/plugs/smed_ex
- Timestamp:
- 2010-10-02T21:19:01+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/smed_ex/src/smed_ex/SmedEx.java
r23443 r23445 8 8 import smed.plug.ifc.SmedPluginManager; 9 9 import javax.swing.JPanel; 10 import java.awt.GridBagLayout;11 10 import java.awt.Dimension; 12 11 import javax.swing.JButton; 12 13 13 import java.awt.Rectangle; 14 14 import java.awt.event.ActionEvent; … … 20 20 public SmedPluginManager manager = null; 21 21 private int index = -1; 22 private String msg = "press button 'Hello World!' and see, how it works"; 22 23 23 24 private JPanel jPanel = null; // @jve:decl-index=0:visual-constraint="78,30" … … 44 45 @Override 45 46 public JComponent getComponent() { 46 47 manager.showVisualMessage(msg); 47 48 return getJPanel(); 48 49 } … … 109 110 @Override 110 111 public boolean hasFocus() { 111 // TODO Auto-generated method stub112 return false;112 manager.showVisualMessage(msg); 113 return true; 113 114 } 114 115
Note:
See TracChangeset
for help on using the changeset viewer.
