Em Andamento

Easy Java Project

Requirements: PLEASE NOTE THE CODE MUST BE AS SIMPLE AS POSSIBLE; NOTHING ADVANCED

Write a program that tests the user’s ability to memorize a sequence of colors. As shown in the sample session, the program starts off by displaying a dialog box with a list of colors that are to be memorized – red, white, yellow, green, and blue. The user then enters the colors one at a time in a text box. If the user makes a mistake, the program prints a “Sorry” message. If the user correctly enters all the colors, the program prints a “Congratulations” message. Note that when the sorry or congratulations message is printed, the window’s original components get cleared away.

Provide a hint button that causes the current color’s first letter to appear in the text box. For example, since the first color is red, the first hint should be r. The hint button must cause focus to be put on the text box (i.e., the cursor should appear within the text box without the user having to click there with the mouse). To cause focus to be put on a component, use the requestFocusInWindow method. See Sun’s API documentation for requestFocusInWindow details.

As always, you are required to write elegant code. In particular, you should avoid hard coding the color values in the interior of your program. You should declare those values one time in an array at the top of the program.

Note:

· Your program should contain a class named YourNameProg7.

· Use a simple FlowLayout layout manager scheme.

· Use an inner c[url removed, login to view] for the listener.

· Limit your use of class variables and instance variables – use them only if appropriate.

· Use appropriate modifiers for your methods. The modifiers we’ve discussed are private, public, static, and final.

· Use helping methods if appropriate.

· Mimic the sample session precisely. In particular, note the dialog box’s text, the window’s title, and the window’s text.

The output will need to be:

The opening window's title will read "Message" and the text will say "How good is your memory? Try to memorize this color sequence: red, white, yellow, green, blue" and there needs to be an "ok" button.

The main window's title will be "Memory Game". In the window's text, it will say "Enter color number 1" and then there will be a text field for the user to enter text. There also needs to be the "hint" button in the window. First they will type the first number and when they hit enter, the window's text will say "Enter color number 2" and the text field will be blank and ready for the user to enter the next color. At the end of entering the 5 colors, if the user was correct, there will be a window that "Congratulations! Your memory is awesome!" If the user types a color that is incorrect, then the window needs to come up saying "Sorry, that's not right." If the user hits the "hint" button, then it will need to give the first letter of whatever color is next to be entered.

Habilidades: Java

Ver mais: easy java project, user tests, text easy, sun documentation java, sample it project, project manager should be a, project end time, project details example, java.sun.com documentation, java sun com documentation, java 1.5 documentation, is incorrect, how to be a project manager, game coding com, coding window, code java project, simple java text output project, how to right a letter, sample coding in java, get java, coding in java, simple java project, red&white, red white, red & white

Acerca do Empregador:
( 6 comentários ) Monument, United States

ID do Projeto: #561687

Premiar a:

srinichal

delivery under a day for this simple project

$30 USD em 0 dias
(17 Avaliações)
5.1

36 freelancers estão ofertando em média $36 para este trabalho

interpb

Hey please check pmb

$30 USD em 1 dia
(54 Comentários)
6.1
fstudio

Please see PMB for more details.

$30 USD in 0 dias
(55 Comentários)
5.5
is00hcw

Hi, I am interested in your project.

$30 USD in 0 dias
(46 Comentários)
5.3
justj2ee

I am interested!

$30 USD em 1 dia
(21 Comentários)
4.9
kudretserin

Hi Please see PM, Regards

$30 USD in 0 dias
(54 Comentários)
4.7
rakib062

Hello sir, I have over 3 years of experience in java.I did several projects under my academic course.I hope I can do this job efficiently.I can implement it using simple,efficient [url removed, login to view] for your reply. Thanks.

$30 USD in 0 dias
(11 Comentários)
3.9
maurezen

Good day. Please, check PM. Thanks.

$30 USD in 0 dias
(2 Comentários)
3.3
dmantampfl

Hi, This looks a very simple project. Please see PM

$70 USD em 1 dia
(5 Comentários)
3.1
siamsoft061

sir, i am ready to work....

$30 USD em 1 dia
(3 Comentários)
2.9
payalpatel

Hello, I can do this for you.I am a certified sun java programer,and I have completed my study [url removed, login to view] i can make it as simple as a core java student can understand easily.

$30 USD em 1 dia
(1 Comentário)
2.6
fael

I am ready to start.

$30 USD em 1 dia
(3 Comentários)
2.5
martapodlacha

It's simple program, I can do it right now.

$30 USD em 1 dia
(2 Comentários)
2.0
coffeewithsuds

Hi adrenagirl I am a Sun Certified Java Programmer. I can write this program real fast. I'll start working on it as soon as you accept my bid. Just wanted to confirm, whether you want to randomize the order of the Mais

$30 USD em 1 dia
(1 Comentário)
0.0
coolashu321

I am Sun certified Java Programmer, Ican easily do the required job, I have a lot of experience in making java desktop applications like chatting for LAN, Merchandising module of Apperal garment industry, Dynamic Load Mais

$30 USD in 0 dias
(0 Comentários)
0.0
nityendrasingh

Please check PMB

$30 USD in 5 dias
(1 Comentário)
0.0
keyursan88

I have seen complete detail about your project. It seems very easy. Even though I wrote 4 days. I have a nice team for your work. You can put trust on me. I hope once you put trust on me you would like to work with us Mais

$50 USD in 4 dias
(0 Comentários)
0.0
ashwinkul

The project will be completed in days as stated with the proper testing and testing at the client level.

$30 USD in 5 dias
(0 Comentários)
0.0
lipeng

Already done, hope you like it~ Please see: [url removed, login to view]

$40 USD in 0 dias
(0 Comentários)
0.0
raj51302504

hello sir, i will my best to deliver upto your expectation.

$50 USD in 3 dias
(0 Comentários)
0.0
murasame

It's a simple project I presume. I have experience in java project, so this should be no problem.

$30 USD em 1 dia
(0 Comentários)
0.0