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.


jgoodies is opensource, check out: https://jgoodies.dev.java.net/
Yes, and the open source parts are excellent. If you view my source code you'll notice it references both JGoodies Forms and JGoodies Looks. I use JGoodies Forms on a daily basis and I can strongly recommend it to those in need of a better layout manager! The Swing Suite is still commercial, though. Correct me if I'm wrong, but I believe that's where the neat panel component is located.
Actually, in the free looks package, located somewhere like, src\examples\demo\com\jgoodies\uif_lite\panel is a class called SimpleInternalFrame which is what you are looking for.
Killen and Lauderdale County.

Read more...
Pinckard and Dale County.

Read more...
Carson and Washington County.

Read more...
Fort Deposit and Lowndes County.

Read more...
Bridgeport and Jackson County.

Read more...
Mon Louis and Mobile County.

Read more...
Estillfork and Jackson County.

Read more...
Silver Cross and Washington County.

Read more...
Rosa and Blount County.

Read more...
Oneonta and Blount County.

Read more...
Crossville and DeKalb County.

Read more...
Lower Peach Tree and Wilcox County.

Read more...
Ider and DeKalb County.

Read more...
Clayhatchee and Dale County.

Read more...
Ashford and Houston County.

Read more...
Hacoda and Covington County.

Read more...
As a summary of poker video

Read more...
As a summary of casino gaming

Read more...