🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #7551

Re: Swing equivalent of Windows Group box with caption???

#7551
From: Torsten Welches
Date: Thu, 18 Jan 2001 09:20
15 lines
1269 bytes
davout,

try a JPanel with a TitledBorder:

JPanel aPanel = new JPanel();
aPanel.setBorder(BorderFactory.createTitledBorder("xyz"));

Torsten

"davout" <davout@dial.pipex.com> wrote:
>Is there a Java Swing equivalent to the Windows group box control with a
>caption ?
>
>
Technical Details
Message-ID: <3a66b579$1_1@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn4feed!worldnet.att.net!164.128.36.58!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!dnews!207.105.83.65
References: <3a66ade9_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,98baa294ad4cf4e9
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2001-01-18 01:32:09 PST
From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Sender: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Reply-To: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Subject: Re: Swing equivalent of Windows Group box with caption???
Newsgroups: borland.public.jbuilder.java.swing
X-User-Info: 193.158.55.74 193.158.55.74    
References:  <3a66ade9_2@dnews> 
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3a66b579$1_1@dnews>
Date: 18 Jan 2001 01:20:57 -0800
X-Trace: 18 Jan 2001 01:20:57 -0800, 207.105.83.65
Lines: 16
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn4feed!worldnet.att.net!164.128.36.58!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!dnews!207.105.83.65