| Author |
how to shade out the close button on a JFrame ?
|
Mxolisi Veco
Ranch Hand
Joined: Jan 14, 2010
Posts: 59
|
|
Hi.
I have disabled the close button on a JFrame. I want the colour to be greyed out so that is does not give the user an impression that something happens when they click on it.
How do I do that ?
|
 |
Roel De Nijs
Bartender
Joined: Jul 19, 2004
Posts: 4349
|
|
Hi Mxolisi,
I think that's to the courtesy of the operating system and can't be done from Java. But I'm not a Swing guru, so maybe I'm mistaken and if you really want to be sure, you can ask it on the Swing forum. Here is another thread in that forum with the same question as yours.
Kind regards,
Roel
|
SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
|
 |
Mxolisi Veco
Ranch Hand
Joined: Jan 14, 2010
Posts: 59
|
|
|
Thanks Roel
|
 |
 |
|
|
subject: how to shade out the close button on a JFrame ?
|
|
|