🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Preselected Text when editting Cell in JTable

#12751
From: Alberto Robles
Date: Thu, 12 Nov 1998 00:00
17 lines
1075 bytes
Hello,

any idea how can I manage to have the text in a cell preselected when
user edits its contents?

I've tried to change the Integer editor model and in the new editor
class constructor place a call to selectAll() method in component.
Obviously it does not work.

I would appreciate any help.

Alberto
-- 
--------------------------------------------------------------------
Alberto Robles | Contrary to popular belief, Unix is user friendly. 
 Tecsidel,S.A. | It just happens to be selective about who it makes
+34-93-2922110 | friends with.
Technical Details
Message-ID: <364B0704.6999C366@tecsidel.es>
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,3e04cd29ba6b430,start
X-Google-Attributes: gid111d45,public
From: Alberto Robles <alberto.robles@tecsidel.es>
Subject: Preselected Text when editting Cell in JTable
Date: 1998/11/12
Message-ID: <364B0704.6999C366@tecsidel.es>
X-Deja-AN: 411121057
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: TECSIDEL
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing