Thanks bud xD I didn't realise that is why they did that :O
Thanks for your help =)
Type: Posts; User: Emperor_Xyn
Thanks bud xD I didn't realise that is why they did that :O
Thanks for your help =)
Ohhhh
So define a JButton like I would a string, and the Jbutton can be accsessed anywhere in the file? Like a regular global variable?
I know that I probably didn't need to extend that, I was just testing something. It's java lol, I just enclosed it in PHP.
I'm not getting an error, I was referring to removing the button in...
Ok I got this atm.
package rpsgui;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;