Changeset 26569 in osm for applications/editors/josm


Ignore:
Timestamp:
2011-08-24T20:25:10+02:00 (13 years ago)
Author:
malcolmh
Message:

save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelLights.java

    r26568 r26569  
    33import java.awt.event.*;
    44import java.awt.*;
     5
    56import javax.swing.*;
     7
    68import java.util.*;
    79
     
    1315
    1416        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
    1532        private ButtonGroup objButtons = new ButtonGroup();
    1633        public JRadioButton houseButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/LighthouseButton.png")));
     
    4562                this.add(getObjButton(trafficButton, 50, 35, 34, 32, "SSTraffic", Obj.SISTAT), null);
    4663                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
    4781        }
    4882
Note: See TracChangeset for help on using the changeset viewer.