spin.setOpaque(false);
spin.setContentAreaFilled(false);
spin.setBorderPainted(false);
spin.setBounds(WIDTH-150,HEIGHT/3,100,100);
spin.addActionListener(e -> Action.getSpin());
and i dont know how to get the output from the actionListener in the last line into a local variable