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

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter14: Introduction To Swing Components
Section: Chapter Questions
Problem 2CP
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage