OHHHHHHHHHHHHHH!!!! Omg... I have been looking at this way to long....
Type: Posts; User: iZigZag
OHHHHHHHHHHHHHH!!!! Omg... I have been looking at this way to long....
java.lang.ClassCastException: JRockPaperScissors cannot be cast to java.applet.Applet
at sun.applet.AppletPanel.createApplet(AppletPanel.java:785)
at...
This error I am getting, is it because JRockPaperScissors is not defined??
java.lang.ClassCastException: JRockPaperScissors cannot be cast to java.applet.Applet
at sun.applet.AppletPanel.createApplet(AppletPanel.java:785)
at...
I think it is because i am getting errors when trying to use super(initializeComponent); right before
public JRockPaperScissors(){
initializeComponent();
}
Thank you so much!! I knew i needed fresh eyes on this. I had one question though for future reference. Now that everything runs correct, why does it hang for a bit? Or how can I figure that part out?
Basically this is a rock paper scissors game in a simple gui. The program works in applet form, but when I tried this method to run as an application, nothing happened.
This is the applet (below...