public BottomMenuToolbarIcon(String text, Faction faction, boolean ally) {
        String ext = "";
        if (faction.equals(StaticData.federation)) {
            ext = "_fed";
        }
        if (faction.equals(StaticData.klingon)) {
            ext = "_kli";
        }
        if (faction.equals(StaticData.romulan)) {
            ext = "_rom";
        }
        if (faction.equals(StaticData.cardassian)) {
            ext = "_car";
        }
        if (faction.equals(StaticData.dominion)) {
            ext = "_dom";
        }
        if (ally) {
            ext = "_ally";
        }

        buttonImage = ImageManager.getInstance().getImage("graphics/bottommenutoolbar" + ext + ".png").getImage();
        setLayout(null);
        setSize(new Dimension(60, 60));

        if (text != null && text.length() > 0) {
            JLabel textLabel = new JLabel(text);
            textLabel.setBounds(2, 35, 58, 20);
            textLabel.setHorizontalAlignment(SwingConstants.CENTER);
            add(textLabel);
        }

        setModel(new DefaultButtonModel());
    }