public void paint(Graphics g) {
        super.paint(g);
        Graphics2D g2d = (Graphics2D) g;

        g2d.drawImage(PlayerPickBG, 0, 0, this);
        g2d.drawImage(BackImage, 10, 10, this);
        //players
       if (Player1Type != 1) {
            g2d.drawImage(quadeselect, 225, 300, this);
        }
        if (Player1Type != 2) {
            g.drawImage(hailselect, 677, 300, this);
        }
        //mouse listener
        addMouseListener(new MouseAdapter() {
            public void mouseClicked(MouseEvent me) {
                System.out.println(me);

                if (me.getX() > Back.x && me.getX() < Back.x + Back.width && me.getY() > Back.y && me.getY() < Back.y + Back.height) {
                    System.out.println("Back");

                    Fighters.cd.show(Fighters.contentPane, "menu");
                }

                if (me.getX() > CharacterOne.x && me.getX() < CharacterOne.x + CharacterOne.width && me.getY() > CharacterOne.y && me.getY() < CharacterOne.y + CharacterOne.height) {

                    //for player one
                    if (runs == 0) {
                        Player1Type = 1;
                    } //consecutively adds runs for each new player, should only need two
                    else if (runs == 1) {
                        Player2Type = 1;
                    }
                    //single player
                    if (Menu.isSingle()) {
                        Fighters.newGame();
                        Fighters.cd.show(Fighters.contentPane, "game");
                    } //multiplayer and first pick
                    else if (!Menu.isSingle() && runs < 1) {
                        runs++;
                        Fighters.cd.show(Fighters.contentPane, "playerpick");
                        repaint();
                    } //multiplayer and last pick
                    else if (!Menu.isSingle() && runs == 1) {
                        Fighters.newGame();
                        Fighters.cd.show(Fighters.contentPane, "game");
                    }
                }
                if (me.getX() > CharacterTwo.x && me.getX() < CharacterTwo.x + CharacterTwo.width && me.getY() > CharacterTwo.y && me.getY() < CharacterTwo.y + CharacterTwo.height) {
                    System.out.println("PLAYER 2");
                    //same idea
                    if (runs == 0) {
                        Player1Type = 2;
                    } else if (runs == 1) {
                        Player2Type = 2;
                    }

                    if (Menu.isSingle()) {
                        Fighters.newGame();
                        Fighters.cd.show(Fighters.contentPane, "game");
                    } else if (!Menu.isSingle() && runs < 1) {
                        runs++;
                        Fighters.cd.show(Fighters.contentPane, "playerpick");
                        repaint();
                    } else if (!Menu.isSingle() && runs == 1) {
                        Fighters.newGame();
                        Fighters.cd.show(Fighters.contentPane, "game");
                    }
                }

            }
        });
    }