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

1 - 3/10 Write the answer as a fraction​
Why do frogs have triangular heads?Plz help me with this question!!​
as the main speaker in a debate write your contribution against the motion teachers should not be allowed to use Cane's on students​
A room is twice as long as it is broad and its height is 8 m. if the cost of painting its walls at Rs. 20 per m² is Rs 9600 , find the cost of carpeting its flo
Why do frogs have triangular heads?Plz help me with this question!!​
Please help quick pleaseeeeeeeeeeee
Alejandro moves to Australia because he found a new job. Which word best describes Alejandro? O A. Tourist B. Immigrant C. Worker D. Transient
HELP FAST 100 POINTS MUCH SHOW WORK
differentiate between Acidic radical and basic radical ​
how can america become a great nation​