Reading a JTable?

 :: Java :: Help!

View previous topic View next topic Go down

Reading a JTable?

Post  legolizard on 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?
avatar
legolizard

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

View user profile

Back to top Go down

Re: Reading a JTable?

Post  David B on 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!

_________________
Programming Language Community Forums Administrator,








___________________



___________________

avatar
David B
Administrator
Administrator

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

View user profile http://programmingforums.forumotion.com/

Back to top Go down

Re: Reading a JTable?

Post  Nighthawk0973 on Sat Oct 08, 2011 7:42 pm

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

_________________
The Grid:
I tried to image clusters of information as they moved through the computer.
Were they jets, or motorcycles? Were the circuts like freeways? I kept dreaming of a world I thought I'd never see. And then one day... I got in.
avatar
Nighthawk0973
Moderator
Moderator

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

View user profile

Back to top Go down

Re: Reading a JTable?

Post  legolizard on 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.
avatar
legolizard

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

View user profile

Back to top Go down

Re: Reading a JTable?

Post  Nighthawk0973 on Sat Oct 08, 2011 8:22 pm

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

_________________
The Grid:
I tried to image clusters of information as they moved through the computer.
Were they jets, or motorcycles? Were the circuts like freeways? I kept dreaming of a world I thought I'd never see. And then one day... I got in.
avatar
Nighthawk0973
Moderator
Moderator

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

View user profile

Back to top Go down

Re: Reading a JTable?

Post  legolizard on Sat Oct 08, 2011 9:12 pm

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

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

View user profile

Back to top Go down

Re: Reading a JTable?

Post  David B on 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...

_________________
Programming Language Community Forums Administrator,








___________________



___________________

avatar
David B
Administrator
Administrator

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

View user profile http://programmingforums.forumotion.com/

Back to top Go down

Re: Reading a JTable?

Post  Nighthawk0973 on 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.

_________________
The Grid:
I tried to image clusters of information as they moved through the computer.
Were they jets, or motorcycles? Were the circuts like freeways? I kept dreaming of a world I thought I'd never see. And then one day... I got in.
avatar
Nighthawk0973
Moderator
Moderator

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

View user profile

Back to top Go down

Re: Reading a JTable?

Post  legolizard on 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. ^^
avatar
legolizard

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

View user profile

Back to top Go down

Re: Reading a JTable?

Post  David B on 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.

_________________
Programming Language Community Forums Administrator,








___________________



___________________

avatar
David B
Administrator
Administrator

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

View user profile http://programmingforums.forumotion.com/

Back to top Go down

Re: Reading a JTable?

Post  legolizard on Sun Oct 09, 2011 11:41 am

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

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

View user profile

Back to top Go down

Re: Reading a JTable?

Post  Nighthawk0973 on Sun Oct 09, 2011 3:01 pm

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

_________________
The Grid:
I tried to image clusters of information as they moved through the computer.
Were they jets, or motorcycles? Were the circuts like freeways? I kept dreaming of a world I thought I'd never see. And then one day... I got in.
avatar
Nighthawk0973
Moderator
Moderator

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

View user profile

Back to top Go down

Re: Reading a JTable?

Post  David B on 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.

_________________
Programming Language Community Forums Administrator,








___________________



___________________

avatar
David B
Administrator
Administrator

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

View user profile http://programmingforums.forumotion.com/

Back to top Go down

Re: Reading a JTable?

Post  Nighthawk0973 on Mon Oct 10, 2011 12:20 am

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

_________________
The Grid:
I tried to image clusters of information as they moved through the computer.
Were they jets, or motorcycles? Were the circuts like freeways? I kept dreaming of a world I thought I'd never see. And then one day... I got in.
avatar
Nighthawk0973
Moderator
Moderator

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

View user profile

Back to top Go down

Re: Reading a JTable?

Post  David B on 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)

_________________
Programming Language Community Forums Administrator,








___________________



___________________

avatar
David B
Administrator
Administrator

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

View user profile http://programmingforums.forumotion.com/

Back to top Go down

Re: Reading a JTable?

Post  Nighthawk0973 on 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

_________________
The Grid:
I tried to image clusters of information as they moved through the computer.
Were they jets, or motorcycles? Were the circuts like freeways? I kept dreaming of a world I thought I'd never see. And then one day... I got in.
avatar
Nighthawk0973
Moderator
Moderator

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

View user profile

Back to top Go down

Re: Reading a JTable?

Post  David B on 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!

_________________
Programming Language Community Forums Administrator,








___________________



___________________

avatar
David B
Administrator
Administrator

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

View user profile http://programmingforums.forumotion.com/

Back to top Go down

Re: Reading a JTable?

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 :: Java :: Help!

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