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

Calcular el área de un trapecio que presenta las siguientes dimensiones La Base mayor que es de 12.5 metros la base menor que es de 750 centímetros y la altura
What is another name for a working circuit? * A Open circuit B Closed circuit C Series circuit
An expression is shown below. What is the value of the expression?
As a part of a science experiment, a student
Please help With this math
HELP 2O POINTS Venir is used to say that someone is coming to a place or an event. Complete each sentence with the forms of venir to say when people are coming
What is the MAIN responsibility of the judicial branch? A) to print money B) to interpret the laws C) to elect the president D) to create the military
what ideas do Lincoln and Davis have in common? how do their ideas differ?
Solve for x 30° 18 + 6x 4x + 2
Which word has a similar meaning to the term relevant? brief related open-ended important