🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Easy way to get borders?

#12963
From: Max Polk
Date: Tue, 13 Oct 1998 00:00
11 lines
845 bytes
> I'm trying to add borders to a JFrame. The properties "Border" attribute
> combo just lists "None". Is there an easy way to do this?

Yes.  Create a border manually, as in:

   import com.sun.java.swing.border.*;
   ...
   TitledBorder titledBorder = new TitledBorder ("User details");

Then the border appears in the "border" property drop-down list.  Select 
it and you are all set.
Technical Details
Message-ID: <MPG.108d8e246af9a9c59896a6@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3623B9C3.D6DABBF7@swdesignbuild.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,21ed9025baaa7d1f
X-Google-Attributes: gid111d45,public
From: none@none.com (Max Polk)
Subject: Re: Easy way to get borders?
Date: 1998/10/13
Message-ID: <MPG.108d8e246af9a9c59896a6@forums.borland.com>
X-Deja-AN: 400752937
References: <3623B9C3.D6DABBF7@swdesignbuild.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing