Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JTable datasize problem

Status
Not open for further replies.

Kostarsus

Programmer
Joined
Nov 30, 2000
Messages
86
Location
DE
Hi,

I want to use the JTable to display some textes. So I'd written an own model to fill the table. The datastructure of the model is VectorxVector.
Now I've a problem. When the text extends a specific length, the program throws a NullPointerException.
Do you have any suggestions to solve this? Or does anyone know the limit of characters, which can be written in a column?
I'd placed the JTable on a JScrollPane. The property verticalScrollBarPolicy is set to AS_NEEDED.

cu Kostarsus
 
I mean the number of character in a cell.
 
Sounds suspicious.
When the text extends a specific length, the program throws a NullPointerException.
which length?
You can catch the exception, and put the Data to System.out out.
How long are the Texts? > Integer.MAX_VALUE ?

seeking a job as java-programmer in Berlin:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top