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

how does heat transfer to one object to another
The answer to the question
Use the quadratic formula s to solve 2y^2-6y-8=0 {-4,-1} {4,-1} {-4,1} {4,1}
What is six times six
Please help with number 8
HELP!!!! Which of the following correctly relates the porosity, permeability and production of a well in an aquifer? a. Increasing porosity and decreasing perm
Suppose f(x) = x^2. what is the graph of g(x) = f(2x)?
How does Shakespeare explore the assassination of Julius caesar?
A population of sea life was very successful in its marine environment. Suddenly, this sea life experienced a rapid decrease in population and ultimately, extin
What is the sum of the first 30 terms of this arithmetic sequence? 6, 13, 20, 27, 34, …