Changeset 26569 in osm for applications/editors/josm
- Timestamp:
- 2011-08-24T20:25:10+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelLights.java
r26568 r26569 3 3 import java.awt.event.*; 4 4 import java.awt.*; 5 5 6 import javax.swing.*; 7 6 8 import java.util.*; 7 9 … … 13 15 14 16 private OSeaMAction dlg; 17 18 public JLabel categoryLabel; 19 20 public JComboBox trafficCatBox; 21 private ActionListener alTrafficCatBox = new ActionListener() { 22 public void actionPerformed(java.awt.event.ActionEvent e) { 23 } 24 }; 25 26 public JComboBox warningCatBox; 27 private ActionListener alWarningCatBox = new ActionListener() { 28 public void actionPerformed(java.awt.event.ActionEvent e) { 29 } 30 }; 31 15 32 private ButtonGroup objButtons = new ButtonGroup(); 16 33 public JRadioButton houseButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/LighthouseButton.png"))); … … 45 62 this.add(getObjButton(trafficButton, 50, 35, 34, 32, "SSTraffic", Obj.SISTAT), null); 46 63 this.add(getObjButton(warningButton, 90, 35, 34, 32, "SSWarning", Obj.SISTAW), null); 64 65 categoryLabel = new JLabel(Messages.getString("Category"), SwingConstants.CENTER); 66 categoryLabel.setBounds(new Rectangle(20, 80, 140, 20)); 67 this.add(categoryLabel, null); 68 69 trafficCatBox = new JComboBox(); 70 trafficCatBox.setBounds(new Rectangle(20, 110, 140, 20)); 71 this.add(trafficCatBox, null); 72 trafficCatBox.addActionListener(alTrafficCatBox); 73 trafficCatBox.addItem(Messages.getString("NoneSpecified")); 74 75 warningCatBox = new JComboBox(); 76 warningCatBox.setBounds(new Rectangle(20, 110, 140, 20)); 77 // this.add(warningCatBox, null); 78 warningCatBox.addActionListener(alWarningCatBox); 79 warningCatBox.addItem(Messages.getString("NoneSpecified")); 80 47 81 } 48 82
Note:
See TracChangeset
for help on using the changeset viewer.