File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Creating a method that takes no Arguments Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Creating a method that takes no Arguments" Watch "Creating a method that takes no Arguments" New topic
Author

Creating a method that takes no Arguments

Ryan Perlman
Greenhorn

Joined: Oct 31, 2001
Posts: 23
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

Joined: Nov 04, 2001
Posts: 35
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


WebNelly.com<br />Java/XML Web Development<br />Check it out!<br /><a href="http://www.webnelly.com" target="_blank" rel="nofollow">http://www.webnelly.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Creating a method that takes no Arguments
 
Similar Threads
Framework for GUI with computationally intensive threads
Wanting to ask user to keep "inputting" at the command prompt until a condition is reached
Head-Tail Counter
Probably a simple answer
Changing an arrays size