• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

textField.getText()=="" not working

 
chop ficaro
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
trying to see if the user has entered text in a text field but
ConductorDiameterIn.getText()==""
always evaluates to false
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you forget how to compare Strings in Java ?
 
chop ficaro
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
o ya there was a method compare or something, let me look that up
 
chop ficaro
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
right, method equals, lol thanks for reminding me
 
Maneesh Godbole
Saloon Keeper
Posts: 11096
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
chop ficaro wrote:

I had requested you to check your private messages in this post
Please note it is not optional.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic