JTable support in Netbeans 4.1

Discussion in 'Java' started by Dave Brown, Jul 6, 2005.

  1. Dave Brown

    Dave Brown Guest

    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,
     
    Dave Brown, Jul 6, 2005
    #1
    1. Advertising

  2. Dave Brown

    Roland Guest

    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().addListSelectionListener(ListSelectionListener)
    --
    Regards,

    Roland de Ruiter
    ` ___ ___
    `/__/ w_/ /__/
    / \ /_/ / \
     
    Roland, Jul 6, 2005
    #2
    1. Advertising

  3. Dave Brown

    Dave Brown Guest

    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().addListSelectionListener(ListSelectionListener)
     
    Dave Brown, Jul 6, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tivo Escobar
    Replies:
    1
    Views:
    7,555
    manusa
    Apr 12, 2007
  2. R^3
    Replies:
    0
    Views:
    1,415
  3. netbeans 5.0 JTable

    , May 12, 2006, in forum: Java
    Replies:
    1
    Views:
    4,755
    Kroll, Michael
    May 15, 2006
  4. Tintin92
    Replies:
    1
    Views:
    1,813
    Andrew Thompson
    Feb 14, 2007
  5. Haircuts Are Important
    Replies:
    3
    Views:
    416
    Haircuts Are Important
    Jun 4, 2013
Loading...

Share This Page