How to change the height of the JFrame title bar and its color?

How can I change the height of the JFramHow to change the height of the JFrame title bar and its colore title bar and its color? Please don't suggest to change the height by changing the font size of the title bar..Thats a hack and doesn't look good at all. In general, is it possible to write a custom JFrame title bar? Working example will be appreciated. Thanks. -Dan

It's up to the host window system to draw that title bar, so the answer is, generally, no. What you can do, though, is to use a Window instead of a JFrame, and in that Window (which has no title bar) draw a fake title bar yourself. You'd have to handle dragging, click-to-close, etc yourself, but of course you can make it look like whatever you want.