Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,194,659 members, 7,955,383 topics. Date: Sunday, 22 September 2024 at 01:55 AM

How Can I Look Through Rows In Jtables? - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / How Can I Look Through Rows In Jtables? (769 Views)

Retrieving/selecting A Particular Number Of Random Rows From A Database Table (2) (3) (4)

(1) (Reply) (Go Down)

How Can I Look Through Rows In Jtables? by loyanet(m): 9:29am On Dec 09, 2012
I have a GUI Frame where values will be entered. Now my problem is getting the codes that can get this values as entered and calculation can be done using this same values on the same JTable and save to a database table... the program is Students semister course registration, CGPA calculation and result checking. With Everything had be coded except this which i have tabled heretoday...please i need help it agent.
Re: How Can I Look Through Rows In Jtables? by loyanet(m): 8:31am On Apr 12, 2013
pls am still in need of it
Re: How Can I Look Through Rows In Jtables? by Chimanet(m): 9:18am On Apr 12, 2013
Hello, ask the jtable for its tablemodel, then cast the tablemodel down to a default jtable model object. Which is the implementation of the tablemodel interface. Then call useful methods of the model object. Methods lyk getdata() which returns a vector of vectors. I think so, the outer vector is the row objects while the innner one should b the column objects. Jst hope you get all this stories well
Re: How Can I Look Through Rows In Jtables? by loyanet(m): 12:24pm On Apr 12, 2013
I will try bro. thanks for that.

(1) (Reply)

How Can I Package My Program Wit Netbean IDE? / Nairalanders I Need Your Assistance In This Pls / Offline Dictionary For Web Design

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 5
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.