• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating a method that takes no Arguments

 
Ryan Perlman
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
still dealing with the previous question I have made the coin toss applet but now I need to fill one more field. I need to make a seperate method That will yeild a value of true or false based on the actionPerformed of the coin. I can not figure out how to get this started.
Here is the code I have so far it all works except there is nothing being sent to the flipField (ie.. true or false);

thanks for all the help everyone has provided so far
[This message has been edited by Marilyn deQueiroz (edited November 09, 2001).]
 
Kris Nelson
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Set the text of the flipField textfield the same way you status textfield in the tossAction.actionPerformed() method.

------------------
WebNelly.com
Java/XML Web Development
Check it out!
http://www.webnelly.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic