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

What happens to the temperature as you go deeper in an aquatic system
A cyclist maintains a constant velocity of 6.7 m/s headed away from point a. at some initial time, the cyclist is 252 m from point a. what will be his displac
A science student makes the following statement: I think plants grow faster in acidic soil than they do in normal soil. Which part of the scientific process is
400 is 1/10 of what number
Why can physical changes separate the components of a mixture but not the components of a compound
How do you Simplify 3/12?
(blank) parenting is a belief, or a way of living, that teaches and emphasizes good behavior in the process of raising children.
subtract. use a grid to record the problem. 637350-43832
not everyone has stress. true false
How do the structures in an organism relate to their functions?