The feature you are looking for is called a titled border (swing class: 
javax.swing.border.TitledBorder).

And, might I add, as an aside to the regulars here, that this is a GREAT question to 
answer on this group.  The asker knows exactly what they are trying to accomplish, but 
does not know any of the terminology related to accomplishing it (except "Swing").  So 
a Google or java.sun.com search would be fruitless.

-- Roger glover

> -----Original Message-----
> From: Alan Williamson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 08, 2002 11:45 AM
> To: JDJList
> Subject: [jdjlist] RE: What swing object is this?
> 
> 
> ||| Trying to find something that resembles a GroupBox. What is that?
> ||| 
> ||| ---Group-------------------------
> ||| | Object1                       |
> ||| | Object2                       |
> ||| | Object3                       |
> ||| ---------------------------------
> ||| 
> ||| I am sure you get the picture... Anything that does that in 
> ||| swing components?
> 
> Sadly i don't know the answer to your question ... but its been 
> years since
> i have seen ASCII art!
> 
> ;-)
> 
> ____________________________________________________
> To change your JDJList options, please visit:
> http://www.sys-con.com/java/list.cfm
> 
> Be respectful! Clean up your posts before replying
> ____________________________________________________


____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm

Be respectful! Clean up your posts before replying
____________________________________________________

Reply via email to