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

Which one is it please helppp FAST!!???
3. What does anthropogenic mean?
You noted how Eleanor Roosevelt used parallel sentences and parallel structure in "The Struggle for Human Rights." Writers use parallel sentences for better flo
Deshawn invest $400 in an account that earns 0.41% monthly interest complete the statement
Match the definition to the word. 1. of air; in the air dialogue 2. the specialized writing that directly quotes a speaker aerial 3. a mental view, outlook pers
Ahmed Rahim, the co-founder and CEO of Numi Tea, says that he makes sure the companies he works with understand why they are being asked to work in a sustainabl
Eric and his family drove 452 km in one day how many meters is this?​
in line 3 which literary term is present?a. punb. personificationc. metaphord. simile​
What has happened to the land around the DMZ?
The owner of a chain of clothing stores is comparing the monthly profit earned in the past year from four different store locations. She calculated the mean and