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

Why does Louis XIV want to expand France's border?
Please I have the answers I just want to double check them and Solvekey: B=42  A=93  N=29  X=361. (b-7)(2b-7)2. (4a-4)(5a-7)3. (5n-6)(4n+7)4. (2n=8)(8n+3)5. (6x
What is 0.05 percent of 6.5?
least number that has 2, 3, 4, as factors
What is the slope of any line parallel to the line 8x + 9y = 3 in the standard (x,y) coordinate plane?
A circular pool is ten feet in diameter and five feet deep. What is its volume, in cubic feet?
how do day and nightat uranus's equator change asthe uranus revolves around the sun?
How many grandparents have my grandparents? who can solve it is very good on maths! it is just a lpgic problem! i know the answer :)
how do day and nightat uranus's equator change asthe uranus revolves around the sun?
A circular pool is ten feet in diameter and five feet deep. What is its volume, in cubic feet?