🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Default button

#10862
From: gerardo macari
Date: Thu, 29 Jul 1999 00:00
38 lines
1733 bytes
This is a multi-part message in MIME format.
--------------76C2F42FB67D0D86FD0B88DF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I have a JPanel with buttons. I want to set one of my buttons as a
default button. I know that there is a
setDefaultButton(JButton) in JRootPane for the  four heavyweight
JFC/Swing containers (JFrame, JDialog, JWindow, and JApplet), but how do
I set a default in the JPanel.

ps: I'm only new to Swing/JFC

pps: could you email directly to gerardom@corel.ie please.

regards,

gerardo

--------------76C2F42FB67D0D86FD0B88DF
Content-Type: text/x-vcard; charset=us-ascii;
 name="gerardom.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for gerardo macari
Content-Disposition: attachment;
 filename="gerardom.vcf"

begin:vcard 
n:Macari;Gerardo
tel;work:Corel Europa House Hartcourt st, Dublin (Ireland)
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:gerardom@corel.ie
fn:Gerardo Macari
end:vcard

--------------76C2F42FB67D0D86FD0B88DF--
Technical Details
Message-ID: <37A0808F.DBED5139@corel.ie>
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,236b4cc237593943,start
X-Google-Attributes: gid111d45,public
From: gerardo macari <gerardom@corel.ie>
Subject: Default button
Date: 1999/07/29
Message-ID: <37A0808F.DBED5139@corel.ie>
X-Deja-AN: 506515553
X-Accept-Language: en
Content-Type: multipart/mixed; boundary="------------76C2F42FB67D0D86FD0B88DF"
X-Complaints-To: newsmaster@tinet.ie
X-Trace: scotty.tinet.ie 933236856 31665 194.106.141.209 (29 Jul 1999 08:27:36 GMT)
Organization: Telecom Internet (http://www.tinet.ie/)
Mime-Version: 1.0
NNTP-Posting-Date: 29 Jul 1999 08:27:36 GMT
Newsgroups: borland.public.jbuilder.java.swing