🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: DeafultButton problem

#11591
From: nrachan
Date: Tue, 11 May 1999 00:00
18 lines
1179 bytes
SetDefaultButton works in JFrame but not in JDialog.

In article <7ffg7p$sgh9@forums.borland.com>,
  "Jason Burton" <Jason.Burton@McLeodSoftware.com> wrote:
> When I use the setDefaultButton method of a JRootPane, the button is
> displayed with the thick, dark border that (in Windows) indicates it
is the
> default button.  However, pressing enter does not trigger the button
press.
> Has anybody gotten default buttons to work?
>
> Jason
>
>


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---
Technical Details
Message-ID: <7h9m2p$8d8$1@nnrp1.deja.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7ffg7p$sgh9@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,ed23e2456aeb6630
X-Google-Attributes: gid111d45,public
From: nrachan@my-dejanews.com
Subject: Re: DeafultButton problem
Date: 1999/05/11
Message-ID: <7h9m2p$8d8$1@nnrp1.deja.com>
X-Deja-AN: 476625339
References: <7ffg7p$sgh9@forums.borland.com>
X-Http-Proxy: 1.0 x31.deja.com:80 (Squid/1.1.22) for client 207.238.210.102
Organization: Deja.com - Share what you know. Learn what you don't.
X-Article-Creation-Date: Tue May 11 16:32:25 1999 GMT
Newsgroups: borland.public.jbuilder.java.swing
X-Http-User-Agent: Mozilla/4.51 [en] (WinNT; I)