🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #16390

Re: focus in a JTextField

#16390
From: flashback
Date: Thu, 25 Feb 1999 00:00
22 lines
1119 bytes
howdy,

Leo Cohen schrieb:
> 
> How do I set a JTextField so that it comes up with focus already set on
> it instead of having the user click in the field?
> --
i assume you're a victim of the old swing-version: there was a bug with
the focus. use 1.2 or jdk1.1.7 with swing 1.1, it should work then.

regards

gregor (assuming you were using setFocus() on the JTextField)

-- 


the best is yet to come...

http://www.netcologne.de/~nc-schneigr
icq-# 14100227
public key available at pgp.ai.mit.edu
Technical Details
Message-ID: <36D5BA64.6B87DC59@netcologne.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36D576EE.408A898B@cs.virginia.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,34bfefa07a3d3a83
X-Google-Attributes: gidf74b3,public
From: flashback <flashback@netcologne.de>
Subject: Re: focus in a JTextField
Date: 1999/02/25
Message-ID: <36D5BA64.6B87DC59@netcologne.de>
X-Deja-AN: 448452818
Content-Transfer-Encoding: 7bit
References: <36D576EE.408A898B@cs.virginia.edu>
X-Accept-Language: en,de
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: flashback@netcologne.de
Newsgroups: borland.public.jbuilder.java.language