View Single Post
Apr 9th, 2004
0

Re: Cannot figure out why I'm getting these Errors

Something is wrong with how you use the ActionListner().

//order.addActionListener((ActionListener)this);
//food.addItemListener((ItemListener)this);
//order.addActionListener((ActionListener)this);
//food.addItemListener((ItemListener)this);

in the init() method, those are cuasing the applet not to intialize correctly and why do you do it twice?

EDIT: I suspect that you are handleing the action events wrong.
Reputation Points: 28
Solved Threads: 9
Posting Whiz in Training
BountyX is offline Offline
222 posts
since Mar 2004