Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   How to retrieve the values from jtable? (http://www.velocityreviews.com/forums/t956342-how-to-retrieve-the-values-from-jtable.html)

Tom 01-09-2013 02:25 PM

How to retrieve the values from jtable?
 
Hi,

If you know How to retrieve the values from jtable?.please share with me...

Thanks

John B. Matthews 01-09-2013 02:54 PM

Re: How to retrieve the values from jtable?
 
In article <7a470200-6c0d-43bf-9a8d-33d01c904159@googlegroups.com>,
Tom <javaposts@gmail.com> wrote:

> If you know how to retrieve the values from JTable, please share with me.


Ask the table's TableModel:

<http://docs.oracle.com/javase/tutorial/uiswing/components/table.html#modelchange>

--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

Roedy Green 01-09-2013 07:02 PM

Re: How to retrieve the values from jtable?
 
On Wed, 9 Jan 2013 06:25:32 -0800 (PST), Tom <javaposts@gmail.com>
wrote, quoted or indirectly quoted someone who said :

>If you know How to retrieve the values from jtable?.please share with me.


Have a look at the source code for Vercheck. See
http://mindprod.com/products1.html#VERCHECK

You invent your own datamodel, which might be an array or a Collection
or a database. You provide the methods for JTable to interrogate and
update it.
--
Roedy Green Canadian Mind Products http://mindprod.com
Students who hire or con others to do their homework are as foolish
as couch potatoes who hire others to go to the gym for them.

Lew 01-09-2013 08:49 PM

Re: How to retrieve the values from jtable?
 
John B. Matthews wrote:
> Tom wrote:
>> If you know how to retrieve the values from JTable, please share with me.

>
> Ask the table's TableModel:
>
> <http://docs.oracle.com/javase/tutorial/uiswing/components/table.html#modelchange>


Tom, you keep getting sent to the same documentation.

Over and over.

Hmm.

What does that tell you, Tom?

(Hint: the answer is "RTFM".)

--
Lew


All times are GMT. The time now is 08:39 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57