The Rantings and Ravings of an Unremarkable Geek

Categories : All | Java

I wish Swing came with a component that looked like the titled panels in the JGoodies commercial package (also in SWT):

Since it doesn't, I've gone ahead an implemented my own simple copycat version that doesn't do anything more fancy than display a title. No button bars, no different gradient or color when focus changes, no icons. I expect to find many uses for it nonetheless. Here's what it looks like:

The source code is pretty simple. It's more of a demo then a library at the moment. Feel free to download the source code and use parts of it in your own projects.