@Override
        public void paintComponent(Graphics g) {

            super.paintComponent(g);
            setBackground(this.c);
            try {
                switch(random) {
                    case 0:
                        image = makeImageIcon("/images/Ingress_Green.png").getImage();
                        g.drawImage(image, (this.getWidth() - image.getWidth(null)) / 2,
                                    (this.getHeight() - image.getHeight(null)) / 2, this);
                        clip = new OggClip("sounds/speech_faction_choice_enlightened_alt.ogg");
                        break;
                    case 1:
                        image = makeImageIcon("/images/Enlightened_Green.png").getImage();
                        g.drawImage(image, (this.getWidth() - image.getWidth(null)) / 2,
                                    (this.getHeight() - image.getHeight(null)) / 2, this);
                        clip = new OggClip("sounds/speech_faction_choice_enlightened.ogg");
                        break;
                    case 2:
                        image = makeImageIcon("/images/Resistance_Blue.png").getImage();
                        g.drawImage(image, (this.getWidth() - image.getWidth(null)) / 2,
                                    (this.getHeight() - image.getHeight(null)) / 2, this);
                        clip = new OggClip("sounds/speech_faction_choice_humanist_alt.ogg");
                        break;
                    default:
                        image = makeImageIcon("/images/Ingress_Dual.png").getImage();
                        g.drawImage(image, ((this.getWidth() - image.getWidth(null)) / 2),
                                    (this.getHeight() - image.getHeight(null)) / 2, this);
                        int gap = image.getWidth(null) / 2 + 150;
                        image = makeImageIcon("/images/Enlightened_Green.png").getImage();
                        g.drawImage(image, ((this.getWidth() - image.getWidth(null)) / 2) - gap,
                                    (this.getHeight() - image.getHeight(null)) / 2, this);
                        image = makeImageIcon("/images/Resistance_Blue.png").getImage();
                        g.drawImage(image, ((this.getWidth() - image.getWidth(null)) / 2) + gap,
                                    (this.getHeight() - image.getHeight(null)) / 2, this);
                        clip = new OggClip("sounds/ada_intro.ogg");
                        break;
                }
            } catch(IOException ignored) {

            }
            if(clip != null && !clipplayed) clip.play();
            clipplayed = true;
            g.dispose();
        }