🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JTabbedPane auto border

#12836
From: Matt Krevs
Date: Thu, 05 Nov 1998 00:00
15 lines
981 bytes
I have a JTabbedPane on a JDialog. Each tab component is a JPanel with no
border.

The default behaviour for a JTabbedPane seems to be to have a line border
around the page area. Does anyone know how to turn this border off?

If I set the border for the JTabbedPane it applies to the JTabbedPane itself
and the line border remains. ( ie 2 borders appear )

If I set the border for each page (JPanel) then this border appears just
inside the automatic border.

Anyone know how to remove the auto line border?

Thanks
Technical Details
Message-ID: <71r1n4$cij11@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,64c9f5008e9a673c,start
X-Google-Attributes: gid111d45,public
From: "Matt Krevs" <mattkrevs@flex.com.au>
Subject: JTabbedPane auto border
Date: 1998/11/05
Message-ID: <71r1n4$cij11@forums.borland.com>
X-Deja-AN: 408519918
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.swing