Trialga Forums: small project - Trialga Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

small project

#1 User is offline   TheFrog114 Icon

  • Factototum
  • Icon
  • Group: Ex-Staff
  • Posts: 2,019
  • Joined: 04-June 07
  • Gender:Male
  • Location:Florida, USA
  • Interests:Whatever...
  • Country:

Posted 27 September 2008 - 10:46 AM

I need a program that opens up a graphical user interface that holds a timer, a light, four buttons, and a little picture of a speaker.

The buttons should read "vision test," "hearing test," "STOP," and "reset timer."

the vision test button, when clicked, should have a random delay between 5 and 10 seconds, changing during every test before the light will come on. The timer should start at exactly the same time the light comes on.

the hearing button, when pressed should do exactly the same thing, except instead of a light coming on, a bell will sound. The bell will only sound once.

The user will need to click the stop button to stop the timer. The light should turn off when the stop button is pressed. The stop button should be red.

The reset timer button should reset the timer.

Language isn't specified, so you can use whatever language suits you.

Thanks. smile.gif



QUOTE (TheFrog114)
Yeah, but they weren't, cause the Mon Calamari are leik, so omg freakin 1337 Admiral Ackbar diplomacy it's a trap pwnage!
OMG infinite loop ftwness!!!
CODE
long iq = 100;
while (iq >= 100)
{
     iq++;
     System.out.println(iq);
}
0

#2 User is offline   landdong Icon

  • Jr. Member
  • Icon
  • Group: Jr. Member
  • Posts: 1
  • Joined: 29-April 09
  • Country:

Posted 29 April 2009 - 08:46 AM

QUOTE (TheFrog114 @ Sep 27 2008, 11:46 AM) <{POST_SNAPBACK}>
I need a program that opens up a graphical user interface that holds a timer, a light, four buttons, and a little picture of a speaker.

The buttons should read "vision test," "hearing test," "STOP," and "reset timer."

the vision test button, when clicked, should have a random delay between 5 and 10 seconds, changing during every test before the light will come on. The timer should start at exactly the same time the light comes on.

the hearing button, when pressed should do exactly the same thing, except instead of a light coming on, a bell will sound. The bell will only sound once.

The user will need to click the stop button to stop the timer. The light should turn off when the stop button is pressed. The stop button should be red.

The reset timer button should reset the timer.

Language isn't specified, so you can use whatever language suits you.

Thanks. smile.gif


thanks for sharing the codes, this gonna helpful to me



_________________
rapid blog share
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users