🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: button.requestFocus()

#13083
From: Matthew Krevs
Date: Fri, 18 Sep 1998 00:00
6 lines
791 bytes
look at JRootPane.setDefaultButton()

>I have a dialog with a button control on it which I'd like to give focus
>to when the screen is created.  Unfortunately, calling
>mybutton.requestFocus() doesn't seem to do anything--something else has
>the focus and it takes one tab to get to mybutton.
Technical Details
Message-ID: <6ts524$7rs11@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36017175.7EFAA9EE@sema4.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,b224f55eb85475a3
X-Google-Attributes: gid111d45,public
From: "Matthew Krevs" <mattkrevs@flex.com.au>
Subject: Re: button.requestFocus()
Date: 1998/09/18
Message-ID: <6ts524$7rs11@forums.borland.com>
X-Deja-AN: 392215292
References: <36017175.7EFAA9EE@sema4.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing