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.
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.
· Your program should contain a class named RobertWiddossProg7.
· Use a simple FlowLayout layout manager scheme.
· Use an inner class 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.
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.
This project was awarded to
My freelancer has done an exceptional job. I have no doubt in mind that I will hire this guy again. Has passion and delivery sense. These are tow important things in my opinion. Just the right guy,
We are a growing community that is passionate in computing technology. Our organization is a crew of determined individuals who are enthusiasts, architects, engineers, hackers and analysts focused on technological and computational research in the fields of information technology and computer science. Our objective is simple, and that is to contribute to the body of knowledge through scientific research, experiments and from practical experiences. We utilize this database of knowledge to create innovative solutions to meet the demands in the digital world. We are extending our service not only in the Philippines but making it available world wide. For more information and inquiries, kindly hire or invite us to be part of your project and we would be glad to be of your service.
Looking to make some money?
- Set your budget and the time frame
- Outline your proposal
- Get paid for your work
Bids on this Project
Technical Skills Summary Programming Languages:- Core Java, J2EE, JSP, Servlet, Swing, EJB, Portlet, C,C++ Middleware:- Hibernate 3.0 Web/Component Technologies:- JSP, Servlet, Portlet Web Servers, App Servers:- Apache Tomcat 6.0,JBOSS 4.0, Wamp5_1.6.5 Server, Websphere portel 5.1, websphere 6.0,Weblogic IDE's/Tools:- Eclipse 3.2,NetBeans 6.0,Editplus,Dream weaver, MyEclipse 6.0,RAD Frame Work:- Struts, Spring, JSF Databases:- Mysql5.0, SQL SERVER, ORACLE. MS ACCESS Reporting Tools:-Jasper Report, Crystal Report. Operating Systems:- MSDOS, UNIX, Windows95/98/XP, WINDOWSNT, Tools:- TOAD, PhotoShop ,Flash,MS-Office,iReport-2.0.1,Sterling Tools Domain Knowledge:- Web Knowledge, ERP (Inventory Control), Hospitality, Insurance. Design Patterns:- MVC, Singleton, Factory, Fascade, Prototype, Observer,iterator,Proxy
Aguas Santas, Portugal
Has 20 years of experience studying and working in Computer Science, including more than 10 years working with Java Programming Language. He has a BsC. in Mathematics and a MsC. in Artificial Intelligence and Computation.
I am student of MCA and like programming. I have learned different programming languages like C, C++, Java, VB.Net, Android, PHP I know different databases like MSAccess, SQL and MySql
Do you have an awesome game idea that you would just love to see made? Do you need help with completing your existing game? I can help you! Hire me to get a professional, experienced programmer that works with you rather than just for you!
Ho Chi Minh City, Vietnam
- C#/VB.net Winform expert - Do school asignments in Algorithm/C/C++/Java. - Have worked with Java - swing GUI for a long time. - I am familiar with these IDE/compiler: + MS VS 6.0/2005/2008/2010 + Java Eclipse/NetBeans/BlueJ + Notepad ++ + GNU Gcc/Gpp ... My Payment Term: + You create 50% milestone after awarding the project and release it after I showed you the first version. + You create the rest funds and release it and please review after we finished the project. Support: I will fix bugs for free, but need extra for expand specifications.
Colombo, Sri Lanka
ePerfections is providing its services since 2000 in software development, websites programming, design, development and technical writing through its highly skilled and professional programmers. We have more than 90% client return ratio. Our areas of expertise are: - Adobe Flex/Air - JAVA (SWING, J2EE) - Databases - .NET - PHP - Website design and development - Technical Writing We have completed following major projects: - Telecom/VOIP/ Multi Service/DID/Tripple Play/InterConnect Billing Solutions - Graphical Reports using Jasper Reports and Crystal Reports - RADIUS, Mediation and Service Monitor application - IVR, Telecom Rating Engine for prepaid and postpaid billing - Stored Procedures - APIs development for Excel, PDF and text reports - Install Shield Professional - FTP - Alarms Manager - Database backup utility - HRM; Bugs Portal - SMSC - Websites development in PHP - Wordpress, Joomla, Customer Site Development - Mobile Application Development Android - Payment Gateways
I love challenging and innovative projects which needs some R&D. I always try to write most optimized and efficient code, follow standard architecture, best software methodologies and design patterns. Coding is the most enjoyable work to me.