Hi. I try to do a chat program. I use JTextFeild to submit data from client to server. Bu i do not want JTextField to post null value. That is why i used this code ;
if(jTextfield.getText() != "") something...... Bu this code always returns true value, even if i do not type any character. Does jTextField.getText() does not equal to "" anytime? --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
