Component with shadow and titledborder

Hi guys,

I want to get a component which I saw on the jgoodies website and I just-can't-find-it !

Check out the compartements with the shadow at http://www.jgoodies.com/freeware/skeleton-pro/images/skeleton-pro.png

I can put the shadowBorder on there .. but are they just JPanel ? How can I get that title there ?

I know this is stupid, but can't seem to find any sourcecode.

[409 byte] By [ReggieBEa] at [2007-11-27 5:58:36]
# 1

> but are they just JPanel ?

That would be my guess.

> I know this is stupid, but can't seem to find any sourcecode.

Then create your own component. Start with a JPanel and use a BorderLayout. Then add a "Title Bar" to the North. You can use a GradientPaint for the background effect if you want.

camickra at 2007-7-12 16:33:35 > top of Java-index,Desktop,Core GUI APIs...
# 2
I guess I could do that, but if they have it on their screenshot, it must be some kind of existing component right ? Anyone ?
ReggieBEa at 2007-7-12 16:33:35 > top of Java-index,Desktop,Core GUI APIs...
# 3
> but if they have it on their screenshot, it must be some kind of existing component right ?No, its means you have a screen shot of a GUI. The GUI can use existing components or components created by the writers of the GUI.
camickra at 2007-7-12 16:33:35 > top of Java-index,Desktop,Core GUI APIs...