🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8104

Re: DefaultTableModel.addRow(Vector/Object[]) throws exceptions when rendering...

#8104
From: Michael Rachow
Date: Wed, 25 Oct 2000 00:00
15 lines
985 bytes
Hi Zachary,

Think you get a "Cannot cast exception".

You cannot downcast an instance to a type (here DefaultTableModel) from
which
that instance had not been formerly upcasted (here TableModel).
I think thats the case here.

Seems that you have to look for another way to add rows to your table.
Suns doc for JdbTable (which is accessible via JBuilders help) should show
you a way.

Greetings
Michael
Technical Details
Message-ID: <39f6b077$1_1@dnews>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39f489de_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,1c322693e68167c
X-Google-Attributes: gid111d45,public
From: "Michael Rachow" <mrachow@BeraCom.de>
Subject: Re: DefaultTableModel.addRow(Vector/Object[]) throws exceptions when rendering...
Date: 2000/10/25
Message-ID: <39f6b077$1_1@dnews>
X-Deja-AN: 685598710
References: <39f489de_1@dnews>
X-Trace: 25 Oct 2000 03:05:43 -0800, 193.159.122.177
X-MSMail-Priority: Normal
X-Priority: 3
Newsgroups: borland.public.jbuilder.java.swing
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300