twesbarbier3536 twesbarbier3536
  • 02-12-2021
  • Computers and Technology
contestada

How to have grey font in java swing.

Respuesta :

johnsonwhiteheadjaid johnsonwhiteheadjaid
  • 02-12-2021

Answer:

How do I change the font color in swing?

To set the font and color of JTextArea we can use the setFont() and setForeground() methods of the JTextArea . To create a font we must define the font name, the font style and its size. For the colors we can uses the constant color values defined by the Color class.

Explanation:

Answer Link

Otras preguntas

What is the control center of the bacteria cell
specific park is rectangular-shaped and has a 7-mile perimeter. The length is 4 times the width. What are the dimensions of the park?
one who is actively involved in government activites
Debbie is planning a road trip that is 250 km long . How many hours will it take her if she drives at an average speed of 104 km/h (about 65 mph)?
if about 32,834.5 kilobytes of memory is still available how many more pictures can they take
Use Constitutional Convention in a sentence to show you understand what it means.
15 liters increased by 60 percent
Which expression forms an equation with the given expression? 8 • 7 – 4 = ___________ (Points : 1) (2 + 9) • 2 10 • 3 – 6 9 • 5 + 7
what was the most important factor in making mesopotamia's farmland fertile?
How has the airplane changed over time?