File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes setting color of TitleBar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "setting color of TitleBar" Watch "setting color of TitleBar" New topic

setting color of TitleBar

kumar mars
Ranch Hand

Joined: Jun 04, 2001
Posts: 34
i am devoloping a chat application
how can i set the color of title bar to get notified the recieval
of a message.
please let me know how can i set the color of TitleBar
hoping an early reply

Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

You can't change the color of frame or dialog borders... that is an OS specific thing... If you need to alert the user to an incoming message and the screen may not be on the top of the desktop, or may be iconified, perhaps this would work instead...


Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link:
subject: setting color of TitleBar
It's not a secret anymore!