wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes I am Stuck Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "I am Stuck" Watch "I am Stuck" New topic
Author

I am Stuck

Ryan Perlman
Greenhorn

Joined: Oct 31, 2001
Posts: 23
I think I can write the method but how to pass the methods boolean value back to the textField that requires String.
I know with setText(Integer.toString(55)); we can pass an int to a string but where should I look to pass a boolean
Frustrated Ryan :confused
Kris Nelson
Ranch Hand

Joined: Nov 04, 2001
Posts: 35
The Boolean Wrapper class (Boolean with a capital 'B') has a toSTring() method that returns "true" or "false" as a String and can be created using as boolean value in its constructor.

------------------
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>
Ryan Perlman
Greenhorn

Joined: Oct 31, 2001
Posts: 23
I found the Boolean Wrapper Class in the api early, could I throw a couple of more quarters at the jukebox for just a little more hint? Please
Ryan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I am Stuck