public PrologGUI(int h, int b) {
        sound = new Sound();
        sound.musikAn();
        try {

            this.bild = new Image[]{
                /*1*/ImageIO.read(this.getClass().getResource("images/Prolog/1.png")),
                /*2*/ ImageIO.read(this.getClass().getResource("images/Prolog/2.png")),
                /*3*/ ImageIO.read(this.getClass().getResource("images/Prolog/3.png")),
                /*4*/ ImageIO.read(this.getClass().getResource("images/Prolog/4.png")),
                /*5*/ ImageIO.read(this.getClass().getResource("images/Prolog/5.png")),
                /*6*/ ImageIO.read(this.getClass().getResource("images/Prolog/6.png")),
                /*7*/ ImageIO.read(this.getClass().getResource("images/Prolog/7.png")),
                /*8*/ ImageIO.read(this.getClass().getResource("images/Prolog/8.png")),
                /*9*/ ImageIO.read(this.getClass().getResource("images/Prolog/9.png")),
                /*10*/ ImageIO.read(this.getClass().getResource("images/Prolog/10.png")),
                /*11*/ ImageIO.read(this.getClass().getResource("images/Prolog/11.png")),
                /*12*/ ImageIO.read(this.getClass().getResource("images/Prolog/12.png")),
                /*13*/ ImageIO.read(this.getClass().getResource("images/Prolog/13.png")),
                /*14*/ ImageIO.read(this.getClass().getResource("images/Prolog/14.png")),};

        } catch (IOException ex) {
            System.err.println("Prolog konnte nicht geladen werden!");
        }
        breite = b;
        hoehe = h;
        nummer = 0;
        gedrueckt = false;
        this.setUndecorated(true);
        initComponents();

        KeyboardFocusManager.getCurrentKeyboardFocusManager().addKeyEventDispatcher(new KeyEventDispatcher() {
            @Override
            public boolean dispatchKeyEvent(KeyEvent e) {
                if (!gedrueckt) {
                    if (e.getID() == KeyEvent.KEY_PRESSED) {
                        if (e.getKeyCode() == KeyEvent.VK_SPACE) {
                            JFrame f = new SpielGUI(hoehe, breite, sound);
                            f.setVisible(true);
                            dispose();
                            gedrueckt = true;
                        } else if (e.getKeyCode() == KeyEvent.VK_LEFT) {
                            if (nummer - 1 >= 0) {
                                nummer--;
                                if (nummer < 1) {
                                    zurueck.setEnabled(false);
                                }
                                hintergrund.repaint();
                            }
                        } else if (e.getKeyCode() == KeyEvent.VK_RIGHT) {
                            nummer++;
                            if (nummer < bild.length) {
                                hintergrund.repaint();
                                zurueck.setEnabled(true);
                            } else {
                                JFrame f = new SpielGUI(hoehe, breite, sound);
                                f.setVisible(true);
                                dispose();
                                gedrueckt = true;
                            }
                        }
                    }
                }
                return false;
            }
        });

        ImageIcon icon = new ImageIcon(getClass().getResource("images/icon.png"));
        setIconImage(icon.getImage());

        getRootPane().setDefaultButton(vor);
    }