public EventPanel(FreeColClient freeColClient, GUI gui, EventType type) {
        super(freeColClient, gui);

        setLayout(new MigLayout("wrap 1", "[center]", "[]20"));

        // TODO: simplify this -- event should contain the necessary
        // information; add it to enum or upgrade to class
        String text = null;
        String image = null;
        switch(type) {
        case FIRST_LANDING:
            image = "EventImage.firstLanding";
            text = Messages.message(StringTemplate.template("event.firstLanding")
                                    .addName("%name%", Messages.getNewLandName(getMyPlayer())));
            break;
        case MEETING_EUROPEANS:
            image = "EventImage.meetingEuropeans";
            text = Messages.message("event.meetingEuropeans");
            break;
        case MEETING_NATIVES:
            image = "EventImage.meetingNatives";
            text = Messages.message("event.meetingNatives");
            break;
        case MEETING_AZTEC:
            image = "EventImage.meetingAztec";
            text = Messages.message("event.meetingAztec");
            break;
        case MEETING_INCA:
            image = "EventImage.meetingInca";
            text = Messages.message("event.meetingInca");
            break;
        case DISCOVER_PACIFIC:
            image = "EventImage.discoverPacific";
            text = Messages.message("model.region.pacific.discover");
            break;
        default:
            setResponse(Boolean.FALSE);
        }

        JLabel header = new JLabel(text);
        header.setFont(mediumHeaderFont);

        JLabel imageLabel = new JLabel(new ImageIcon(ResourceManager.getImage(image)));

        add(header);
        add(imageLabel);
        add(okButton, "tag ok");

        setSize(getPreferredSize());
    }