Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have 3 classes: class1, class2 an

Status
Not open for further replies.

eh171

Programmer
Feb 21, 2003
9
GB
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top