I'm getting following errors when trying to implement ItemListener:
Exception in thread "AWT-EventQueue-1" java.lang.ClassCastException: java.awt.Checkbox cannot be cast to java.awt.Choice
at SurveyApplet.itemStateChanged(SurveyApplet.java:68)
What I have to do: Use Applet to create two instances of the Employee class. Display the data on the Graphics object. Display in the applet the names and values of all of the instance variables in each instance of the class. Also display the value of any static variables.
What I'm doing:
I'm not able to display hours per week for e1 and e2. Please, give me a hint...