how can i retrieve a single row from JTable using jython

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sameer

    how can i retrieve a single row from JTable using jython

    hi guys,
    plzz give ur valuable suggestion for the following problem.....

    my objective is to retrieve a row from jtable using jython
    scripting.so i started from jython where i mentioned connection and
    with the help ofcursor ,retrieve records from table. then import(let
    mytable.class)c lass file into jython. from this i get all the data
    from table.means the whole table i get from database.now when i will
    click a row ,i have to get the whole data of that row.for that i
    wrote listselectionli stener,but when the program is running only it
    gives the first row and after that when i clicked any other row i
    didn;'t get anything.means by default,when the constructor is called
    it is fired only once and after that it is not executed.


    plzz help me how can i get any row when i will clicked .is there any
    other listener or ..any thing
    it's urgent..

    best regards,
    sameer
Working...