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
<[email protected]> 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 <[email protected]>
>>
>> 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 <[email protected]>
>> 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
>> [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/javaprogrammingwithpassion?hl=en
>
>
> --
> Cordiamente,
>
> Freddy Castelblanco Macías
>

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to