Difference between revisions of "User:Bentheredonethat"
Line 3: | Line 3: | ||
Name: Ben Passer | Name: Ben Passer | ||
− | Interests: Video Games, Programming (not | + | Interests: Video Games, Programming (not very much yet) |
− | Room: 312 | + | Room: 312 |
RC: Matt Garrett | RC: Matt Garrett | ||
Roommate: Alex Neaveill | Roommate: Alex Neaveill | ||
+ | |||
+ | Check out www.geocities.com/ben_passer/time.html to see my counter for the time until move-in day (midnight), which was made using a Java Applet that is referenced from html within the geocities page. It's terribly inefficient, and the concepts behind it are pretty basic, but then again I just started reading about Applets about a week ago. | ||
+ | |||
+ | Here's the general layout: | ||
+ | |||
+ | Make Labels and Button (Labels have no text); Add everything; set Button as an ActionListener; actionPerformed: Remove Button; Set text for Label showing format; Enter an infinite loop: Set text for Label showing time using a Date object with no constructor arguments (current time) and another Date object with the move-in day (constant update from loop gives the counter effect) | ||
+ | |||
+ | I might decide to add some colors and stuff later, but then again it won't really exist for all that much longer. |
Revision as of 03:52, 12 August 2005
Hello to whoever is actually reading this!
Name: Ben Passer
Interests: Video Games, Programming (not very much yet)
Room: 312
RC: Matt Garrett
Roommate: Alex Neaveill
Check out www.geocities.com/ben_passer/time.html to see my counter for the time until move-in day (midnight), which was made using a Java Applet that is referenced from html within the geocities page. It's terribly inefficient, and the concepts behind it are pretty basic, but then again I just started reading about Applets about a week ago.
Here's the general layout:
Make Labels and Button (Labels have no text); Add everything; set Button as an ActionListener; actionPerformed: Remove Button; Set text for Label showing format; Enter an infinite loop: Set text for Label showing time using a Date object with no constructor arguments (current time) and another Date object with the move-in day (constant update from loop gives the counter effect)
I might decide to add some colors and stuff later, but then again it won't really exist for all that much longer.