A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Swing / AWT / SWT
Author
textField.getText()=="" not working
chop ficaro
Ranch Hand
Joined: May 02, 2010
Posts: 30
posted
Oct 05, 2010 20:28:16
0
trying to see if the user has entered text in a text field but
ConductorDiameterIn.getText()==""
always evaluates to false
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14685
16
I like...
posted
Oct 05, 2010 20:36:59
0
Did you forget how to compare Strings in Java ?
[My Blog]
All roads lead to JavaRanch
chop ficaro
Ranch Hand
Joined: May 02, 2010
Posts: 30
posted
Oct 05, 2010 20:43:07
0
o ya there was a method compare or something, let me look that up
chop ficaro
Ranch Hand
Joined: May 02, 2010
Posts: 30
posted
Oct 05, 2010 20:45:22
0
right, method equals, lol thanks for reminding me
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8566
I like...
posted
Oct 05, 2010 22:08:46
0
chop ficaro wrote:
I had requested you to
check your private messages in this post
Please note it is
not
optional.
[
Donate a pint, save a life!
] [
How to ask questions
] [
Onff-turn it on!
]
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: textField.getText()=="" not working
Similar Threads
list box
Byte order and file transference.
WA #1.....word association
Default Body Content
exporting to CSV
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter