Color of the border of a JInternalFrame

Apart from the selected/unselected look, is there a way to change the color of the border of a JInternalFrame (or, even better, to make it flash for a short time)? It is necessary to use some other L&F? Thanks, any hint appreciated.
[257 byte] By [java_knighta] at [2007-11-27 7:51:01]
# 1
In the standard L&F's, no, not built in. A JInternalFrame is a component which has a border. I'm sure you can always change the border any time you want. Flashing can be done with a swing Timer fairly easily.
bsampieria at 2007-7-12 19:32:07 > top of Java-index,Desktop,Core GUI APIs...
# 2
Thanks bsampieri. But by rereading my post I've noticed I made a mistake... I meant "window decoration", not "border". Basically I want to operate on the decoration of the internal frame, i.e. the part containing the frame titlebar. Sorry for the misunderstanding, mea culpa.
java_knighta at 2007-7-12 19:32:07 > top of Java-index,Desktop,Core GUI APIs...
# 3

depending on the L&F you are using

UIManager.put("InternalFrame.activeTitleBackground",

new javax.swing.plaf.ColorUIResource(Color.YELLOW));

will change the titlebar color to yellow when active

works on Motif, but not windows or metal L&F's. others?

Michael_Dunna at 2007-7-12 19:32:07 > top of Java-index,Desktop,Core GUI APIs...
# 4
> works on Motif, but not windows or metal L&F's. others?Not working on Metal is a known bug that won't be fixed: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4265434A workaround for Metal is to use themes.
KelVarnsona at 2007-7-12 19:32:07 > top of Java-index,Desktop,Core GUI APIs...