Well, you can use the TableModelListener. On Thu, Nov 11, 2010 at 6:48 PM, Freddy Castelblanco Macias <thelords...@gmail.com> wrote: > Hi > > O.k Well, thanks for your suggestion about access to the value of the cell, > but supposing that the rows of the JTable are dinamic so the column is > static but the row not, so how can I do that ??? Acces to the value of the > cell if i Know that my column is static but my row not ??? > > Thanks > > 2010/11/10 Mohtisham Anwar <mohtish...@gmail.com> >> >> it is too easy you can get the value: >> >> table.getValueAt(row,column).toString(); >> >> Just check out the roseinda website it is all there. >> >> On Wed, Nov 10, 2010 at 11:48 PM, Freddy Castelblanco Macias >> <thelords...@gmail.com> wrote: >> > Hi guys >> > >> > Thanks for your help, is good meet people that help like yours. >> > >> > Also i want to know how can acces to the value of a cell of the JTable >> > and >> > take the value of the cell selected.for play with this value >> > >> > How can do that ???? >> > >> > 2010/11/10 Mohtisham <mohtish...@gmail.com> >> >> >> >> Hye, check the following url it helped me a lot in my study project: >> >> >> >> http://www.roseindia.net/java/example/java/swing/JTableComponent.shtml >> >> >> >> >> >> >> >> On Nov 9, 6:08 pm, Freddy Castelblanco Macias <thelords...@gmail.com> >> >> wrote: >> >> > Hi people !! >> >> > >> >> > I'm working in .Net and I'm learning Java. So I making an aplication >> >> > that is made i .Net and I want create too this application in Java >> >> > bla >> >> > bla bla. >> >> > >> >> > I have one JFrame and inside of this JFrame I have one table, So i >> >> > would like to know or learn how i can fill this control with data of >> >> > my Data Base. I heared one day that i can do this with a >> >> > DefaultTableModel, but how ?? >> >> > >> >> > How can use my resultSet for fill my dataTable ?? >> >> > >> >> > Also if i have fill my table with the data of my DataBase, how can >> >> > access to the value of any cell and "play" with this value ??? >> >> > >> >> > Thanks again >> >> >> >> -- >> >> To post to this group, send email to >> >> javaprogrammingwithpassion@googlegroups.com >> >> To unsubscribe from this group, send email to >> >> javaprogrammingwithpassion+unsubscr...@googlegroups.com >> >> For more options, visit this group at >> >> http://groups.google.com/group/javaprogrammingwithpassion?hl=en >> > >> > >> > -- >> > Cordiamente, >> > >> > Freddy Castelblanco Macías >> > > > > > -- > Cordiamente, > > Freddy Castelblanco Macías >
-- To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email to javaprogrammingwithpassion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en