View Single Post
Join Date: Mar 2004
Posts: 219
Reputation: BountyX is an unknown quantity at this point 
Solved Threads: 7
BountyX's Avatar
BountyX BountyX is offline Offline
Code Guru

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

 
0
  #6
Apr 9th, 2004
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.
A Hacker's Mind:
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes..." - J.D.Salinger
Reply With Quote