Changeset 24630 in osm for applications/editors/josm/plugins/smed/plugs
- Timestamp:
- 2010-12-06T20:54:16+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/dialogs/OSeaMAction.java
r24616 r24630 54 54 private JLabel topIcon = null; 55 55 private JLabel reflIcon = null; 56 private JLabel ra conIcon = null;56 private JLabel radarIcon = null; 57 57 private JLabel fogIcon = null; 58 58 private JLabel nameLabel = null; … … 103 103 oseamPanel.setSize(new Dimension(400, 360)); 104 104 105 shapeIcon = new JLabel(); 106 shapeIcon.setBounds(new Rectangle(270, 160, 125, 155)); 107 shapeIcon.setBorder(BorderFactory.createLineBorder(Color.black, 1)); 105 shapeIcon = new JLabel(new ImageIcon(getClass().getResource("/images/Cardinal_Pillar_South.png"))); 106 shapeIcon.setBounds(new Rectangle(265, 165, 130, 185)); 108 107 oseamPanel.add(shapeIcon, null); 109 lightIcon = new JLabel( );110 lightIcon.setBounds(new Rectangle(2 70, 160, 125, 155));108 lightIcon = new JLabel(new ImageIcon(getClass().getResource("/images/Light_White_120.png"))); 109 lightIcon.setBounds(new Rectangle(265, 165, 125, 185)); 111 110 oseamPanel.add(lightIcon, null); 112 111 topIcon = new JLabel(); 113 topIcon.setBounds(new Rectangle(2 70, 160, 125, 155));112 topIcon.setBounds(new Rectangle(265, 165, 125, 185)); 114 113 oseamPanel.add(topIcon, null); 115 reflIcon = new JLabel( );116 reflIcon.setBounds(new Rectangle(2 70, 160, 125, 155));114 reflIcon = new JLabel(new ImageIcon(getClass().getResource("/images/Radar_Reflector_355.png"))); 115 reflIcon.setBounds(new Rectangle(265, 165, 125, 185)); 117 116 oseamPanel.add(reflIcon, null); 118 ra conIcon = new JLabel();119 ra conIcon.setBounds(new Rectangle(270, 160, 125, 155));120 oseamPanel.add(ra conIcon, null);121 fogIcon = new JLabel( );122 fogIcon.setBounds(new Rectangle(2 70, 160, 125, 155));117 radarIcon = new JLabel(new ImageIcon(getClass().getResource("/images/Radar_Station.png"))); 118 radarIcon.setBounds(new Rectangle(265, 165, 130, 185)); 119 oseamPanel.add(radarIcon, null); 120 fogIcon = new JLabel(new ImageIcon(getClass().getResource("/images/Fog_Signal.png"))); 121 fogIcon.setBounds(new Rectangle(265, 165, 125, 185)); 123 122 oseamPanel.add(fogIcon, null); 124 123 … … 189 188 190 189 nameLabel = new JLabel(); 191 nameLabel.setBounds(new Rectangle(5, 32 5, 60, 20));190 nameLabel.setBounds(new Rectangle(5, 327, 60, 20)); 192 191 nameLabel.setText(tr("Name:")); 193 192 oseamPanel.add(nameLabel, null); 194 193 nameBox = new JTextField(); 195 nameBox.setBounds(new Rectangle(60, 32 0, 200, 30));194 nameBox.setBounds(new Rectangle(60, 325, 200, 25)); 196 195 oseamPanel.add(nameBox, null); 197 196 saveButton = new JButton(); 198 saveButton.setBounds(new Rectangle(285, 32 0, 100, 30));197 saveButton.setBounds(new Rectangle(285, 325, 100, 25)); 199 198 saveButton.setText(tr("Save")); 200 199 oseamPanel.add(saveButton, null);
Note:
See TracChangeset
for help on using the changeset viewer.