This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.