We are about to switch to a new forum software. Until then we have removed the registration on this forum.
hello out there -
I am in a Programming for Visual artist course at my University. For our midterm project we have to invent some sort of clock, whether that may be a conceptual piece, or just another ordinary clock.
What I want to do is create the interface of an ATM Machine, having the user type in their Birthday, and then have that date be subtracted from the current time, giving the user the length of their life in hours minuets, and seconds.
I practically have no idea on how to create a text box that could save the given information and subtract that from the given time.
Please point me in the right direction!
Answers
oh, you posted twice
please do some research
http://forum.processing.org/two/discussion/comment/25782#Comment_25782
I have deleted the duplicate post.
also google java calender or search here in the forum
You used mine! I'm feel so important :) anyways, I don't really know if this is the one Chrisir pasted will answer your question. I know that if you type it will change something, but probably you can modify it so that it does what you requested.
Well, to be clear, I used my code that I posted for you.
And yes: I didn't write the code for him since he is in a class; I just tried to put him on the track. It is just a starting point; he has to read and understand it and then change it. That's learning. E.g. at the moment it takes only letters, where he needs numbers and the / sign...
;-)
you wrote:
do you mean like screen buttons you type with the mouse?
well, work with the keyboard like in my example first...
It's hard enough
also see
http://forum.processing.org/one/topic/counting-days.html