wood burning stoves
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "calling and no ringing apparently" Watch "calling and no ringing apparently" New topic

calling and no ringing apparently


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,
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

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


Perfect World Programming, LLC - iOS Apps
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
It's not a secret anymore!