aspose file tools*
The moose likes Beginning Java and the fly likes calling and no ringing apparently Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "calling and no ringing apparently" Watch "calling and no ringing apparently" New topic
Author

calling and no ringing apparently

DANIEL GRESHAM
Greenhorn

Joined: Feb 09, 2005
Posts: 21
ok I'va had nothing but problems with this method since the begining, I'm not sure if the button is even working or if theres a problem with calling method I was using, but at any rate here is the code method first.

and heres the MyDialog class

as you can see I have solved a portion of the problem using JOptionPane, but thats only for the short term, I really want to use this class for my own edification.
thanks in advance,
Danny
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17257
    
    6

OK you have an public void actionPerformed(ActionEvent al) method in your MyDialog class, but that class is not an ActionListener, so therefore nothing is going to fire off this method.

Check out this page.
ActionListener Tutorial at Sun

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: calling and no ringing apparently