Thread View: borland.public.jbuilder.java.swing
2 messages
2 total messages
Started by Bob Goldstine
Wed, 07 Apr 2004 17:37
Newbie: TableScrollPane Double Click?
Author: Bob Goldstine
Date: Wed, 07 Apr 2004 17:37
Date: Wed, 07 Apr 2004 17:37
9 lines
1225 bytes
1225 bytes
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.
Re: Newbie: TableScrollPane Double Click?
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads