I have 3 classes: class1, class2 and timeClass. class1 and class2 each have a textfield, and what I am trying to do is display the time (from time class) in both textfields of the different classes (NOTE the time class is working correctly). I can get the time to display in 1 class textfield but not in two. This is the coding that I have:
timeClass_Constructor(class1 c1, class2 c2)
class1
timeClass time = new timeClass(this) //i get an error here
class2
timeclass time = new timeClass(this)//error here
timeClass_Constructor(class1 c1, class2 c2)
class1
timeClass time = new timeClass(this) //i get an error here
class2
timeclass time = new timeClass(this)//error here