Swing without Titlebar for my custom Titlebar

I want my custom TitleBar.

So I use this method.

frame.setUndecorated(true);

but it just doesn't show titlebar.

I want only question button and close button and just title name.

for example

--

| Title name ? X |

--

I do not want Iconimage.

just only three.

question button, close button, just title name.

How can I make My TitleBar?

Message was edited by:

sednafox@nate.com

Message was edited by:

sednafox@nate.com

Message was edited by:

sednafox@nate.com

[576 byte] By [sednafox@nate.coma] at [2007-10-3 5:19:57]
# 1
> I do not want Iconimage.frame.setIconImage(new ImageIcon("").getImage());but the title text will NOT move left into the image area
Michael_Dunna at 2007-7-14 23:26:53 > top of Java-index,Java Essentials,Java Programming...
# 2
You could create a custom L&F.
mlka at 2007-7-14 23:26:53 > top of Java-index,Java Essentials,Java Programming...