Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Play.addActionListener(new ActionListener() {
- @Override
- public void actionPerformed(ActionEvent e) {
- JPanel playscreen = new JPanel();
- playscreen.setBackground(Color.WHITE);
- p.add(playscreen);
- }
- });
- Play.addActionListener((event) -> {
- JPanel playscreen = new JPanel();
- playscreen.setBackground(Color.WHITE);
- p.add(playscreen);
- });
- Play.addActionListener((event) -> {
- JPanel playscreen = new JPanel();
- playscreen.setBackground(Color.WHITE);
- p.add(playscreen);
- });
Add Comment
Please, Sign In to add comment