View Single Post
  #2 (permalink)  
Old 05-23-2008, 03:55 PM
danielstoner's Avatar
danielstoner danielstoner is offline
Senior Member
 
Join Date: Apr 2008
Location: Canada
Posts: 191
danielstoner is on a distinguished road
It would be easier if you show the code.
1. I guess you are not implementing actionPerformed(java.awt.event.ActionEvent) in your myRequest class that extends java.awt.event.ActionListener. An you have to do that if you pan to instantiate myRequest. By the way use capitals for your class names: MyRequest.

2. addComponentListener(java.awt.event.ComponentListe ner) in java.awt.Component cannot be applied to (myRequest) means myRequest is not a ComponentListener and I guess that is true since it extends ActionListener.
__________________
Daniel @ [
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
Language is froth on the surface of thought
Reply With Quote