Thanks for the help wushutwist,
As you can probably tell im rather new to programming in java.
Now its cleared up the ClassCastException error but now theres a null pointer exception occuring.
Hi, I having been struggling to find the ClassCastException Error in the following code which is designed to display a digital number depending on the number entered into the option pane:
import java.applet.Applet;
import javax.swing.JOptionPane;
import java.awt.*;
import java.awt.event.*...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.