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 1960s band is regarded as being responsible for launching rock ‘n’ roll into the mainstream? True or false
Why is it hard to breath on top of a mountain?
Solve for m. m^2+8m+15=0
Given triangle ABC with a = 12, b = 6, and measurement of angle A = 50 degrees , find measurement of angle C . Round the sine value to the nearest thousandth an
How does mr. utterson’s relationship to hyde develop in the story of the strange case of dr. jekyll and mr. hyde?
What is the volume of the box if it scaled down by a factor of 1/10 the volume is 5 and the surface area is Length 3in Width 0.28in Height 6in
King George the third become king at 21 years old true or false
Pls help me guys! This is super hard ik nothing abou
helpp what's the difference between 'again' and 'agains' ?
Four cards are drawn from a deck without replacement how many possible