Would you like to react to this message? Create an account in a few clicks or log in to continue.

Reading a JTable?

3 posters

 :: Java :: Help!

Go down

Reading a JTable? Empty Reading a JTable?

Post  legolizard Sat Oct 08, 2011 12:09 pm

So I am making a Jtable that will store grades; the ending column will be your final grade average the top row contains the assignment names and so on. So I know how to make the table but I do not know how I can read the table when the user inputs a grade. Any help will be greatly apreciated. Very Happy

Also can anyone explain to me why it takes longer for the table to load than the actual window it is annoying?
legolizard
legolizard

Posts : 137
Join date : 2011-08-01
Location : On planet Char.

Back to top Go down

Reading a JTable? Empty Re: Reading a JTable?

Post  David B Sat Oct 08, 2011 12:22 pm

legolizard wrote:So I am making a Jtable that will store grades; the ending column will be your final grade average the top row contains the assignment names and so on. So I know how to make the table but I do not know how I can read the table when the user inputs a grade. Any help will be greatly apreciated. Very Happy

Also can anyone explain to me why it takes longer for the table to load than the actual window it is annoying?
Whatis a Jtable? Googling...googling...googling... OH! Okay! I got it now!
David B
David B
Administrator
Administrator

Posts : 618
Join date : 2011-07-20
Location : The Twilight Zone!

https://programmingforums.forumotion.com/

Back to top Go down

Reading a JTable? Empty Re: Reading a JTable?

Post  Nighthawk0973 Sat Oct 08, 2011 7:42 pm

Strange... exact Java version number and computer specifications please?
Nighthawk0973
Nighthawk0973
Moderator
Moderator

Posts : 307
Join date : 2011-07-20
Age : 25
Location : In Front of My Computer

Back to top Go down

Reading a JTable? Empty Re: Reading a JTable?

Post  legolizard Sat Oct 08, 2011 8:01 pm

I don't quite understand how that is relavant, but meh.

Java SE 1.6 (Ecplise IDE FTW!!!)

Win7(64-bit).

RAM : 6 GB(Pretty good for a laptop. ^^)

Other stuff... LAWL.

Anyways I am more concered about how to read/add/divide the elements of the table rather than it taking a few seconds to load up.
legolizard
legolizard

Posts : 137
Join date : 2011-08-01
Location : On planet Char.

Back to top Go down

Reading a JTable? Empty Re: Reading a JTable?

Post  Nighthawk0973 Sat Oct 08, 2011 8:22 pm

I've personally never used JTable but Java 7 is out, so you should download it.
Nighthawk0973
Nighthawk0973
Moderator
Moderator

Posts : 307
Join date : 2011-07-20
Age : 25
Location : In Front of My Computer

Back to top Go down

Reading a JTable? Empty Re: Reading a JTable?

Post  legolizard Sat Oct 08, 2011 9:12 pm

Ah man. :-( Is there anything else I could use?
legolizard
legolizard

Posts : 137
Join date : 2011-08-01
Location : On planet Char.

Back to top Go down

Reading a JTable? Empty Re: Reading a JTable?

Post  David B Sat Oct 08, 2011 10:49 pm

Nighthawk0973 wrote:Strange... exact Java version number and computer specifications please?
See the top right corner of the page for the version number...
David B
David B
Administrator
Administrator

Posts : 618
Join date : 2011-07-20
Location : The Twilight Zone!

https://programmingforums.forumotion.com/

Back to top Go down

Reading a JTable? Empty Re: Reading a JTable?

Post  Nighthawk0973 Sat Oct 08, 2011 11:35 pm

What do you mean by that?

Also, you don't have to update your version of Java, but I'm saying your code might run better if your Java is more up to date. And there's nothing else you can use for Java. Java SE is the best Java out there. Furthermore, if your Java is up to date you can use programs made in Java 7. Though most Java programs should run good with Java 6 just because Java 7 is so new.
Nighthawk0973
Nighthawk0973
Moderator
Moderator

Posts : 307
Join date : 2011-07-20
Age : 25
Location : In Front of My Computer

Back to top Go down

Reading a JTable? Empty Re: Reading a JTable?

Post  legolizard Sun Oct 09, 2011 12:27 am

I mean that is there any other import I could use to get the "spread sheet" kind of look?

I have no idea what DB is talking about though. ^^
legolizard
legolizard

Posts : 137
Join date : 2011-08-01
Location : On planet Char.

Back to top Go down

Reading a JTable? Empty Re: Reading a JTable?

Post  David B Sun Oct 09, 2011 1:50 am

Nighthawk0973 wrote:What do you mean by that?
I didn't notice that the thread had a considerable amount of posts that I skipped.

legolizard wrote:I have no idea what DB is talking about though. ^^
Don't worry lego, niether do I.
David B
David B
Administrator
Administrator

Posts : 618
Join date : 2011-07-20
Location : The Twilight Zone!

https://programmingforums.forumotion.com/

Back to top Go down

Reading a JTable? Empty Re: Reading a JTable?

Post  legolizard Sun Oct 09, 2011 11:41 am

I figured it out. ^^ I will post a tutorial on it later. Very Happy
legolizard
legolizard

Posts : 137
Join date : 2011-08-01
Location : On planet Char.

Back to top Go down

Reading a JTable? Empty Re: Reading a JTable?

Post  Nighthawk0973 Sun Oct 09, 2011 3:01 pm

I'm sensing the code 'JTabel myJTabel = new JTabel(possibleParameters...)' appearing on the forum soon!
Nighthawk0973
Nighthawk0973
Moderator
Moderator

Posts : 307
Join date : 2011-07-20
Age : 25
Location : In Front of My Computer

Back to top Go down

Reading a JTable? Empty Re: Reading a JTable?

Post  David B Sun Oct 09, 2011 7:58 pm

Nighthawk0973 wrote:I'm sensing the code 'JTabel myJTabel = new JTabel(possibleParameters...)' appearing on the forum soon!
I would like him to explain in more detail what a JTable is. Even after googling it, I still don't quite understand it. I am guessing JTable means Java Table, but I am not sure.
David B
David B
Administrator
Administrator

Posts : 618
Join date : 2011-07-20
Location : The Twilight Zone!

https://programmingforums.forumotion.com/

Back to top Go down

Reading a JTable? Empty Re: Reading a JTable?

Post  Nighthawk0973 Mon Oct 10, 2011 12:20 am

JBlah always means Java Blah. lol. You know like JFrame is Java Frame? ;D
Nighthawk0973
Nighthawk0973
Moderator
Moderator

Posts : 307
Join date : 2011-07-20
Age : 25
Location : In Front of My Computer

Back to top Go down

Reading a JTable? Empty Re: Reading a JTable?

Post  David B Mon Oct 10, 2011 9:43 am

Nighthawk0973 wrote:JBlah always means Java Blah. lol. You know like JFrame is Java Frame? ;D
So I did get it! I am so smart! (not really)
David B
David B
Administrator
Administrator

Posts : 618
Join date : 2011-07-20
Location : The Twilight Zone!

https://programmingforums.forumotion.com/

Back to top Go down

Reading a JTable? Empty Re: Reading a JTable?

Post  Nighthawk0973 Mon Oct 10, 2011 3:04 pm

The above sentance was true, except for the parts where you weren't saying 'not really' Very Happy jk
Nighthawk0973
Nighthawk0973
Moderator
Moderator

Posts : 307
Join date : 2011-07-20
Age : 25
Location : In Front of My Computer

Back to top Go down

Reading a JTable? Empty Re: Reading a JTable?

Post  David B Mon Oct 10, 2011 3:20 pm

Nighthawk0973 wrote:The above sentance was true, except for the parts where you weren't saying 'not really' Very Happy jk
I am glad that you have so much confidence in me!
David B
David B
Administrator
Administrator

Posts : 618
Join date : 2011-07-20
Location : The Twilight Zone!

https://programmingforums.forumotion.com/

Back to top Go down

Reading a JTable? Empty Re: Reading a JTable?

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


 :: Java :: Help!

 
Permissions in this forum:
You cannot reply to topics in this forum