1) Typing quickly and correctly is an essential skill for working effectively with computers and the Internet. In this exercise you will build a GUI application that can help users learn to "touch type" (Le. type correctly without looking at the keyboard). The application should display a virtual keyboard and should allow the user to watch what he or she is typing on the screen without looking at the actual keyboard. Use JButtons to represent the keys. As the user presses each key, the application highlights the corresponding JButton on the GUI and adds the character to a JTexIArea that shows what the user has typed so far. (Hint: To highlight a JButton, use its SetBackground method to change its background colour. When the key is released, reset its original background| colour. You can obtain the JButton's original background colour with the getbackground| method before you change its colour.] yping Tutor Type some text using your keyboard. The keys you press will be highlighted and the text wi be displayed. Note: Clicking the buttons with your mouse will not perform any action. Backspace Tab R P Caps AsD " K Enter Shift

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

please use java to answer the following question

1) Typing quickly and correctly is an essential skill for working effectively with computers
and the Internet. In this exercise you will build a GUI application that can help users
learn to “touch type" (i.e. type correctly without looking at the keyboard). The
application should display a virtual keyboard and should allow the user to watch what he
or she is typing on the screen without looking at the actual keyboard, Use JButtons to
represent the keys. As the user presses each key, the application highlights the
corresponding JButton on the GUI and adds the character to a JTextArea that shows what
the user has typed so far. (Hint: To highlight a JButton, use its SetBackground method to
change its background colour. When the key is released, reset its original background
colour. You can obtain the JButton's original background colour with the getbackground
method before you change its colour.]
A Typing Tutor
Type some text using your keyboard. The keys you press will be highlighted and the text will be displayed.
Note: Clicking the buttons with your mouse will not perform any action.
1
2
3
4
5
6
Backspace
Tab
w
R
Y
P
Caps
A
D
G
H
K
Enter
Shift
B
N
M
Transcribed Image Text:1) Typing quickly and correctly is an essential skill for working effectively with computers and the Internet. In this exercise you will build a GUI application that can help users learn to “touch type" (i.e. type correctly without looking at the keyboard). The application should display a virtual keyboard and should allow the user to watch what he or she is typing on the screen without looking at the actual keyboard, Use JButtons to represent the keys. As the user presses each key, the application highlights the corresponding JButton on the GUI and adds the character to a JTextArea that shows what the user has typed so far. (Hint: To highlight a JButton, use its SetBackground method to change its background colour. When the key is released, reset its original background colour. You can obtain the JButton's original background colour with the getbackground method before you change its colour.] A Typing Tutor Type some text using your keyboard. The keys you press will be highlighted and the text will be displayed. Note: Clicking the buttons with your mouse will not perform any action. 1 2 3 4 5 6 Backspace Tab w R Y P Caps A D G H K Enter Shift B N M
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Running Time of Application
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education