Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > JTable support in Netbeans 4.1

Reply
Thread Tools

JTable support in Netbeans 4.1

 
 
Dave Brown
Guest
Posts: n/a
 
      07-06-2005
Hi All,

Does anyone know which event is fired when a row is selected on a JTable ?

It doesnt appear to be an event in netbeans list of events for a JTable.

Thanks,
 
Reply With Quote
 
 
 
 
Roland
Guest
Posts: n/a
 
      07-06-2005
On 6-7-2005 14:33, Dave Brown wrote:
> Hi All,
>
> Does anyone know which event is fired when a row is selected on a JTable ?
>
> It doesnt appear to be an event in netbeans list of events for a JTable.
>
> Thanks,

ListSelectionEvent on ListSelectionListener
JTable.getSelectionModel().addListSelectionListene r(ListSelectionListener)
--
Regards,

Roland de Ruiter
` ___ ___
`/__/ w_/ /__/
/ \ /_/ / \
 
Reply With Quote
 
 
 
 
Dave Brown
Guest
Posts: n/a
 
      07-06-2005
Got it, Thanks

Roland wrote:
> On 6-7-2005 14:33, Dave Brown wrote:
>
>> Hi All,
>>
>> Does anyone know which event is fired when a row is selected on a
>> JTable ?
>>
>> It doesnt appear to be an event in netbeans list of events for a JTable.
>>
>> Thanks,

>
> ListSelectionEvent on ListSelectionListener
> JTable.getSelectionModel().addListSelectionListene r(ListSelectionListener)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Putting a JTable inside a JTable cell? Tivo Escobar Java 1 04-12-2007 11:09 AM
How to move data from a CSV file to a JTable, and from a JTable to a CSV file ? Tintin92 Java 1 02-14-2007 06:51 PM
netbeans 5.0 JTable seanka@datavirtue.com Java 1 05-15-2006 11:48 AM
Resizing JTable Columns in Netbeans R^3 Java 0 02-25-2006 07:58 PM
Building a GUI using NetBeans platform (not Netbeans IDE !) Pimousse Java 2 04-21-2004 07:22 AM



Advertisments