This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
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: 17249

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 - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: calling and no ringing apparently
Similar Threads
using a bean to put slider on panel
calling info
Trials and tribulations, trys and catches
Oh, God I NEED Help!!!!!!!!
StringTokenizer Class