Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

calling and no ringing apparently

 
DANIEL GRESHAM
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic