The Artima Developer Community
Sponsored Link

Java Answers Forum
Trouble with recognised custom event handler class?

1 reply on 1 page. Most recent reply: Jun 17, 2003 3:43 PM by zenykx

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Andrew Beales

Posts: 3
Nickname: blueswo
Registered: Nov, 2002

Trouble with recognised custom event handler class? Posted: Jun 15, 2003 7:15 PM
Reply to this message Reply
Advertisement
Hi I am doing my project re-engineering some code I am practically a java beginner.I find that my call to my Buttonhandler class + ComboBoxHandler class doesn`t compile.Where`s my trouble?
I have line like this in methods to a class
btInsert.addActionListener(new ButtonHandler ());
in methods to a class
class ButtonHandler implements ActionListener{
public void actionPerformed(ActionEvent e){

Do I need to instantiate the class in main How?
Do I need to create object reference of Handler class? How?


zenykx

Posts: 69
Nickname: zenykx
Registered: May, 2003

Re: Trouble with recognised custom event handler class? Posted: Jun 17, 2003 3:43 PM
Reply to this message Reply
Provide the error message ... and then maybe you will got a solution !

Flat View: This topic has 1 reply on 1 page
Topic: Installing struts!! Previous Topic   Next Topic Topic: java reports

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use