Vinay Berry

Greenhorn
+ Follow
since Dec 04, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vinay Berry

Rob Prime wrote:To check for empty Strings you can also use !MField.getText().length() == 0.



haha we just learned about that method too it probably would've impressed the professor if I used it in my code
14 years ago
Thanks it works now!
14 years ago
how can i implement that into the code?
14 years ago
I'm having trouble with some code I'm building a length converter that converts length from 5 text fields if the user enters a value in one text field for say millimeter, then meters, yards, feet and inches should be filled out when the convert button is clicked. I wrote 5 if statements that get text from the field if the field has text in it then it should execute the code. The problem is it doesn't follow these statements it just runs through all the if statements and tries to perform all the operations.
14 years ago




I changed a few things and everything works
14 years ago