Ignore:
Timestamp:
2010-12-11T10:56:05+01:00 (14 years ago)
Author:
malcolmh
Message:

save

File:
1 edited

Legend:

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

    r24665 r24695  
    104104
    105105                colourLabel = new JLabel();
    106                 colourLabel.setBounds(new Rectangle(30, 5, 60, 20));
     106                colourLabel.setBounds(new Rectangle(2, -2, 60, 20));
    107107                colourLabel.setText(tr("Colour:"));
    108108                this.add(colourLabel, null);
     
    154154                        pillarButton = new JRadioButton(new ImageIcon(getClass()
    155155                                        .getResource("/images/PillarButton.png")));
    156                         pillarButton.setBounds(new Rectangle(105, 0, 35, 32));
     156                        pillarButton.setBounds(new Rectangle(55, 0, 35, 32));
    157157                        pillarButton.setToolTipText(Messages.getString("PillarTip"));
    158158                }
     
    164164                        sparButton = new JRadioButton(new ImageIcon(getClass().getResource(
    165165                                        "/images/SparButton.png")));
    166                         sparButton.setBounds(new Rectangle(105, 32, 35, 32));
     166                        sparButton.setBounds(new Rectangle(55, 32, 35, 32));
    167167                        sparButton.setToolTipText(Messages.getString("SparTip"));
    168168                }
     
    174174                        canButton = new JRadioButton(new ImageIcon(getClass().getResource(
    175175                                        "/images/CanButton.png")));
    176                         canButton.setBounds(new Rectangle(105, 64, 35, 32));
     176                        canButton.setBounds(new Rectangle(55, 64, 35, 32));
    177177                        canButton.setToolTipText(Messages.getString("CanTip"));
    178178                }
     
    184184                        coneButton = new JRadioButton(new ImageIcon(getClass().getResource(
    185185                                        "/images/ConeButton.png")));
    186                         coneButton.setBounds(new Rectangle(105, 96, 35, 32));
     186                        coneButton.setBounds(new Rectangle(55, 96, 35, 32));
    187187                        coneButton.setToolTipText(Messages.getString("ConeTip"));
    188188                }
     
    194194                        sphereButton = new JRadioButton(new ImageIcon(getClass()
    195195                                        .getResource("/images/SphereButton.png")));
    196                         sphereButton.setBounds(new Rectangle(105, 128, 35, 32));
     196                        sphereButton.setBounds(new Rectangle(55, 128, 35, 32));
    197197                        sphereButton.setToolTipText(Messages.getString("SphereTip"));
    198198                }
     
    204204                        barrelButton = new JRadioButton(new ImageIcon(getClass()
    205205                                        .getResource("/images/BarrelButton.png")));
    206                         barrelButton.setBounds(new Rectangle(140, 0, 35, 32));
     206                        barrelButton.setBounds(new Rectangle(90, 0, 35, 32));
    207207                        barrelButton.setToolTipText(Messages.getString("BarrelTip"));
    208208                }
     
    214214                        superButton = new JRadioButton(new ImageIcon(getClass()
    215215                                        .getResource("/images/SuperButton.png")));
    216                         superButton.setBounds(new Rectangle(140, 32, 35, 32));
     216                        superButton.setBounds(new Rectangle(90, 32, 35, 32));
    217217                        superButton.setToolTipText(Messages.getString("SuperTip"));
    218218                }
     
    224224                        floatButton = new JRadioButton(new ImageIcon(getClass()
    225225                                        .getResource("/images/FloatButton.png")));
    226                         floatButton.setBounds(new Rectangle(140, 64, 35, 32));
     226                        floatButton.setBounds(new Rectangle(90, 64, 35, 32));
    227227                        floatButton.setToolTipText(Messages.getString("FloatTip"));
    228228                }
     
    234234                        beaconButton = new JRadioButton(new ImageIcon(getClass()
    235235                                        .getResource("/images/BeaconButton.png")));
    236                         beaconButton.setBounds(new Rectangle(140, 96, 35, 32));
     236                        beaconButton.setBounds(new Rectangle(90, 96, 35, 32));
    237237                        beaconButton.setToolTipText(Messages.getString("BeaconTip"));
    238238                }
     
    244244                        towerButton = new JRadioButton(new ImageIcon(getClass()
    245245                                        .getResource("/images/TowerButton.png")));
    246                         towerButton.setBounds(new Rectangle(140, 128, 35, 32));
     246                        towerButton.setBounds(new Rectangle(90, 128, 35, 32));
    247247                        towerButton.setToolTipText(Messages.getString("TowerTip"));
    248248                }
     
    254254                        whiteButton = new JRadioButton(new ImageIcon(getClass()
    255255                                        .getResource("/images/WhiteButton.png")));
    256                         whiteButton.setBounds(new Rectangle(0, 32, 34, 32));
     256                        whiteButton.setBounds(new Rectangle(0, 16, 54, 16));
    257257                        whiteButton.setToolTipText(tr("White"));
    258258                }
     
    264264                        redButton = new JRadioButton(new ImageIcon(getClass().getResource(
    265265                                        "/images/RedButton.png")));
    266                         redButton.setBounds(new Rectangle(34, 32, 34, 32));
     266                        redButton.setBounds(new Rectangle(0, 32, 54, 16));
    267267                        redButton.setToolTipText(tr("Red"));
    268268                }
     
    274274                        orangeButton = new JRadioButton(new ImageIcon(getClass()
    275275                                        .getResource("/images/OrangeButton.png")));
    276                         orangeButton.setBounds(new Rectangle(68, 32, 34, 32));
     276                        orangeButton.setBounds(new Rectangle(0, 48, 54, 16));
    277277                        orangeButton.setToolTipText(tr("Orange"));
    278278                }
     
    284284                        amberButton = new JRadioButton(new ImageIcon(getClass()
    285285                                        .getResource("/images/AmberButton.png")));
    286                         amberButton.setBounds(new Rectangle(0, 64, 34, 32));
     286                        amberButton.setBounds(new Rectangle(0, 64, 54, 16));
    287287                        amberButton.setToolTipText(tr("Amber"));
    288288                }
     
    294294                        yellowButton = new JRadioButton(new ImageIcon(getClass()
    295295                                        .getResource("/images/YellowButton.png")));
    296                         yellowButton.setBounds(new Rectangle(34, 64, 34, 32));
     296                        yellowButton.setBounds(new Rectangle(0, 80, 54, 16));
    297297                        yellowButton.setToolTipText(tr("Yellow"));
    298298                }
     
    304304                        greenButton = new JRadioButton(new ImageIcon(getClass()
    305305                                        .getResource("/images/GreenButton.png")));
    306                         greenButton.setBounds(new Rectangle(68, 64, 34, 32));
     306                        greenButton.setBounds(new Rectangle(0, 96, 54, 16));
    307307                        greenButton.setToolTipText(tr("Green"));
    308308                }
     
    314314                        blueButton = new JRadioButton(new ImageIcon(getClass().getResource(
    315315                                        "/images/BlueButton.png")));
    316                         blueButton.setBounds(new Rectangle(0, 96, 34, 32));
     316                        blueButton.setBounds(new Rectangle(0, 112, 54, 16));
    317317                        blueButton.setToolTipText(tr("Blue"));
    318318                }
     
    324324                        violetButton = new JRadioButton(new ImageIcon(getClass()
    325325                                        .getResource("/images/VioletButton.png")));
    326                         violetButton.setBounds(new Rectangle(34, 96, 34, 32));
     326                        violetButton.setBounds(new Rectangle(0, 128, 54, 16));
    327327                        violetButton.setToolTipText(tr("Violet"));
    328328                }
     
    334334                        blackButton = new JRadioButton(new ImageIcon(getClass()
    335335                                        .getResource("/images/BlackButton.png")));
    336                         blackButton.setBounds(new Rectangle(68, 96, 34, 32));
     336                        blackButton.setBounds(new Rectangle(0, 144, 54, 16));
    337337                        blackButton.setToolTipText(tr("Black"));
    338338                }
Note: See TracChangeset for help on using the changeset viewer.