Purpose To review more advanced aspects of user interfaces and event handlers Directions Create an interface for a program that looks like the one in the first image below. Then add an event handler to the JSlider that changes the font size of the text in the JTextArea according to the value on the slider, as illustrated in the second image. Note: These directions are intentionally vague. Use the internet and whatever other resources you have available to try to piece together how to do this. Be sure to cite any sources you use as comments in your code. Text Decorator Type here. Font Size: 0 25 50 75 100 Text Decorator Type here... Туре Font Size: 25 50 75 100

EBK JAVA PROGRAMMING
8th Edition
ISBN:9781305480537
Author:FARRELL
Publisher:FARRELL
Chapter16: Graphics
Section: Chapter Questions
Problem 15RQ
icon
Related questions
Question

In java pls

Getting Bigger.pdf
PDF
O File | C:/Users/19377/Downloads/Getting%20Bigger.pdf
+
Purpose
To review more advanced aspects of user interfaces and event handlers
Directions
Create an interface for a program that looks like the one in the first image below.
Then add an event handler to the JSlider that changes the font size of the text in the
JTextArea according to the value on the slider, as illustrated in the second image.
Note: These directions are intentionally vague. Use the internet and whatever other
resources you have available to try to piece together how to do this. Be sure to cite
any sources you use as comments in your code.
Text Decorator
Type here..
Font Size:
25
50
75
100
Text Decorator
Type here...
Туре
Font Size:
25
50
75
100
11:35 AM
e Type here to search
28°F Cloudy
2/23/2022
(8)
Transcribed Image Text:Getting Bigger.pdf PDF O File | C:/Users/19377/Downloads/Getting%20Bigger.pdf + Purpose To review more advanced aspects of user interfaces and event handlers Directions Create an interface for a program that looks like the one in the first image below. Then add an event handler to the JSlider that changes the font size of the text in the JTextArea according to the value on the slider, as illustrated in the second image. Note: These directions are intentionally vague. Use the internet and whatever other resources you have available to try to piece together how to do this. Be sure to cite any sources you use as comments in your code. Text Decorator Type here.. Font Size: 25 50 75 100 Text Decorator Type here... Туре Font Size: 25 50 75 100 11:35 AM e Type here to search 28°F Cloudy 2/23/2022 (8)
Expert Solution
Step 1

for the above interface I am using java swing

I am going to use the jSlider and jTextArea. The code is in the next step

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:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning