View Single Post
  #2 (permalink)  
Old 07-30-2007, 08:51 PM
brianhks brianhks is offline
Senior Member
 
Join Date: Jul 2007
Posts: 134
brianhks will become famous soon enough
try this
Code:
if (t1.equals(t2))
Make sure t1 is not null or you will get a null pointer exception.
Reply With Quote