Article View: borland.public.jbuilder.java.swing
Article #1118Re: Newbie: TableScrollPane Double Click?
From: Lori M Olson (TeamB)
Date: Wed, 07 Apr 2004 18:48
Date: Wed, 07 Apr 2004 18:48
36 lines
2095 bytes
2095 bytes
Bob Goldstine wrote:
> Im a Delphi programmer just starting to code in Java using JBuilderX.
>
> Ive placed a TableScrollPane in a frame and need to close it when a user
> double-clicks on a row.
>
> Im sure this is easy, but I havent figured out how to tie an action listener
> (is this the right terminology?) to a double click.
>
> Any help including code snippets will be appreciated.
>
>
http://java.sun.com/docs/books/tutorial/uiswing/events/mouselistener.html
Hint: see getClickCount()
--
Regards,
Lori Olson (TeamB)
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Technical Details
Message-ID:
<40744d0b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!easynews.net!newsfeed3.easynews.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40743c0b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,4dc9dbff715cb416 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2004-04-07 12:10:30 PST Date: Wed, 07 Apr 2004 12:48:28 -0600 From: "Lori M Olson (TeamB)" <javadragon@techie.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax; CDonDemand-Dom) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing Subject: Re: Newbie: TableScrollPane Double Click? References: <40743c0b$1@newsgroups.borland.com> In-Reply-To: <40743c0b$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 142.179.181.200 Message-ID: <40744d0b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1081363723 142.179.181.200 (7 Apr 2004 11:48:43 -0800) Lines: 37 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!easynews.net!newsfeed3.easynews.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail