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

round 9,254 to the nearest hundred
Milwaukee is 121 mi (air miles) due west of Grand Rapids. Maria drives 255 mi in 4.75 h from Grand Rapids to Milwaukee around Lake Michigan. Find her average dr
David made 30 cups of tea per hour. Andrew made 35 cups of coffee per hour. This week David made an additional 10 cups of tea. Write an expression that represen
Which pair of molecules both contain carbon atoms?
Which concerns of the Anti-Federalists were satisfactorily resolved in the Constitution?
round 9,254 to the nearest hundred
In 1968,the estimated population of the world was 3,559,028,982 people.When this number is written in expanded form using exponents,one power of 10 would not be
how many times is 5 bigger than 0.5?
Explain why an addition problem that has a 4-digit addends could have a 5 digit sum.
How does the FITT principle apply to the development of a successful personal fitness program?A. The FITT principle helps individuals determine an effective sch