This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Java in General and the fly likes exception while populating jtable from vectors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "exception while populating jtable from vectors " Watch "exception while populating jtable from vectors " New topic
Author

exception while populating jtable from vectors

naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 692

hi i m populating the jtable from 2 vectors one for column and one for row
but i m getting an exception that say
can you guyz tell me at which line i m making mistake please


The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
John Jai
Bartender

Joined: May 31, 2011
Posts: 1776
Constructs a JTable to display the values in the Vector of Vectors, rowData, with column names, columnNames.

So use vectors that holds vectors. Source - JTable vector constructor
naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 692

SOLVED
John Jai
Bartender

Joined: May 31, 2011
Posts: 1776
Could you mind showing how you solved it?
 
GeeCON Prague 2014
 
subject: exception while populating jtable from vectors