🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JTable and JComboBox

#12046
From: Marco Cordeiro
Date: Fri, 26 Feb 1999 00:00
23 lines
1289 bytes
Hi:

The numbers of mouse clicks, needed to start editing a JTable column may be
changed by using the setClickCountToStart method of the DefaultCellEditor
for the specific column.
I hope it helps,

Marco

luther.maloney wrote in message <36D2D314.6A64536F@pfsfhq.com>...
>Hi,
>
>I have a JCombo box installed as the renderer/editor for a column in a
>jtable. When attempting to select an item from the combo box, 3 mouse
>clicks are needed. (One to select the row, another to cause the
>jcomboBox to drop down and yet another to select an item in the combo
>box.) What would be causing this sort of behavior and how would i go
>about fixing it. (Note I have JCheckBox set as a renderer/editor for
>some other columns, these seem to work just fine.
>
>Luther
>luther.malony@pfsfhq.com
>
Technical Details
Message-ID: <7b6c14$i7p6@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36D2D314.6A64536F@pfsfhq.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c1ea32eaf3a65c7c
X-Google-Attributes: gid111d45,public
From: "Marco Cordeiro" <marco-c@dataaccess.com>
Subject: Re: JTable and JComboBox
Date: 1999/02/26
Message-ID: <7b6c14$i7p6@forums.borland.com>
X-Deja-AN: 448731016
References: <36D2D314.6A64536F@pfsfhq.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Data Access Technologies
Newsgroups: borland.public.jbuilder.java.swing