Photoshop-style Palette

How would I go about making a permanently undocked Palette like the one in Photoshop? Nothing like this is covered in the Swing tutorials, and what I’ve tried in the past had some focusing issues (as well as not looking anything like what I wanted.

The key issues to worry about are these:

  • Title Bar needs to be narrow and thin, not standard size.
  • This should be able to exit the main frame without any problems.
  • Always on top if the program is active and never needs to be focused (but shouldn’t steal focus away from other components)

See attachment if you are unsure about what I am talking about.

JToolBar failed to profide this? at what did it fail?

JToolbar does not have the thin title bar I’m looking for. Instead, it uses the default size, which is too chunky for this.