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

x+y=10 x-y=20 how do you solving systems of equations with elimination
9^x=27^(x+2) how do I do that? I don't get how to do it with different bases
4. Which of the following led to the growth of nationalism in the Middle East after the Great War? (Points : 3) foreign domination the spread of communism Russi
Barnacles and whales have a commensalistic relationship in which barnacles benefit. What would most likely happen to the whale population if the barnacle popula
What is 12% of 17.5?
combine like terms y+4+3(y+2)
Which of the following are factors that might influence a person's political opinions?
Material in the cell nucleus made up of DNA and various kinds of protein is called_______?
What is the least common multiple (LCM) of 6 and 8? A. 24 B. 48 C. 16 D. 2
Researchers performing __________ insert a weak electric current into the brain to stimulate it. A. lesioning B. ESB C. EEG